diff options
Diffstat (limited to 'include/asm-sh/bitops.h')
-rw-r--r-- | include/asm-sh/bitops.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-sh/bitops.h b/include/asm-sh/bitops.h index 9d7021723a25..df805f20b267 100644 --- a/include/asm-sh/bitops.h +++ b/include/asm-sh/bitops.h | |||
@@ -2,6 +2,11 @@ | |||
2 | #define __ASM_SH_BITOPS_H | 2 | #define __ASM_SH_BITOPS_H |
3 | 3 | ||
4 | #ifdef __KERNEL__ | 4 | #ifdef __KERNEL__ |
5 | |||
6 | #ifndef _LINUX_BITOPS_H | ||
7 | #error only <linux/bitops.h> can be included directly | ||
8 | #endif | ||
9 | |||
5 | #include <asm/system.h> | 10 | #include <asm/system.h> |
6 | /* For __swab32 */ | 11 | /* For __swab32 */ |
7 | #include <asm/byteorder.h> | 12 | #include <asm/byteorder.h> |