x86, UML: remove x86-specific implementations of find_first_bit
[sfrench/cifs-2.6.git] / include / asm-x86 / bitops_32.h
1 #ifndef _I386_BITOPS_H
2 #define _I386_BITOPS_H
3
4 /*
5  * Copyright 1992, Linus Torvalds.
6  */
7 #ifdef __KERNEL__
8
9 #include <asm-generic/bitops/sched.h>
10
11 #include <asm-generic/bitops/hweight.h>
12
13 #endif /* __KERNEL__ */
14
15 #include <asm-generic/bitops/fls64.h>
16
17 #ifdef __KERNEL__
18
19 #include <asm-generic/bitops/ext2-non-atomic.h>
20
21 #define ext2_set_bit_atomic(lock, nr, addr)                     \
22         test_and_set_bit((nr), (unsigned long *)(addr))
23 #define ext2_clear_bit_atomic(lock, nr, addr)                   \
24         test_and_clear_bit((nr), (unsigned long *)(addr))
25
26 #include <asm-generic/bitops/minix.h>
27
28 #endif /* __KERNEL__ */
29
30 #endif /* _I386_BITOPS_H */