source: GPL/trunk/include/linux/bitops.h@ 522

Last change on this file since 522 was 441, checked in by Paul Smedley, 16 years ago

Move functions out of config.h into appropriate linux header

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