| Line | |
|---|
| 1 | /* $Id: bitops.h,v 1.1.1.1 2003/07/02 13:57:00 eleph Exp $ */
|
|---|
| 2 |
|
|---|
| 3 | #ifndef _I386_BITOPS_H
|
|---|
| 4 | #define _I386_BITOPS_H
|
|---|
| 5 |
|
|---|
| 6 | /*
|
|---|
| 7 | * Copyright 1992, Linus Torvalds.
|
|---|
| 8 | */
|
|---|
| 9 |
|
|---|
| 10 | /*
|
|---|
| 11 | * These have to be done with inline assembly: that way the bit-setting
|
|---|
| 12 | * is guaranteed to be atomic. All bit operations return 0 if the bit
|
|---|
| 13 | * was cleared before the operation and != 0 if it was not.
|
|---|
| 14 | *
|
|---|
| 15 | * bit 0 is the LSB of addr; bit 32 is the LSB of (addr+1).
|
|---|
| 16 | */
|
|---|
| 17 |
|
|---|
| 18 | /*
|
|---|
| 19 | * Function prototypes to keep gcc -Wall happy
|
|---|
| 20 | */
|
|---|
| 21 | #include <asm\bitops.h>
|
|---|
| 22 |
|
|---|
| 23 | #endif /* _I386_BITOPS_H */
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.