diff options
Diffstat (limited to 'include/asm-s390/bitops.h')
-rw-r--r-- | include/asm-s390/bitops.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-s390/bitops.h b/include/asm-s390/bitops.h index f79c9b792af1..34d9a6357c38 100644 --- a/include/asm-s390/bitops.h +++ b/include/asm-s390/bitops.h | |||
@@ -15,6 +15,10 @@ | |||
15 | 15 | ||
16 | #ifdef __KERNEL__ | 16 | #ifdef __KERNEL__ |
17 | 17 | ||
18 | #ifndef _LINUX_BITOPS_H | ||
19 | #error only <linux/bitops.h> can be included directly | ||
20 | #endif | ||
21 | |||
18 | #include <linux/compiler.h> | 22 | #include <linux/compiler.h> |
19 | 23 | ||
20 | /* | 24 | /* |
@@ -746,6 +750,7 @@ static inline int sched_find_first_bit(unsigned long *b) | |||
746 | #include <asm-generic/bitops/fls64.h> | 750 | #include <asm-generic/bitops/fls64.h> |
747 | 751 | ||
748 | #include <asm-generic/bitops/hweight.h> | 752 | #include <asm-generic/bitops/hweight.h> |
753 | #include <asm-generic/bitops/lock.h> | ||
749 | 754 | ||
750 | /* | 755 | /* |
751 | * ATTENTION: intel byte ordering convention for ext2 and minix !! | 756 | * ATTENTION: intel byte ordering convention for ext2 and minix !! |