summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/bitops.h
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2008-04-30 00:55:13 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-30 08:29:54 -0700
commitae50884f66fc93aa713feade8f87c03471241275 (patch)
treeea58f6ad5f8490b745239cf06c002466c96394de /include/asm-generic/bitops.h
parent735643ee6cc5249bfac07fcad0946a5e7aff4423 (diff)
downloadlinux-stable-ae50884f66fc93aa713feade8f87c03471241275.tar.gz
linux-stable-ae50884f66fc93aa713feade8f87c03471241275.tar.bz2
linux-stable-ae50884f66fc93aa713feade8f87c03471241275.zip
remove __KERNEL__ tests of unexported headers under asm-generic/
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic/bitops.h')
-rw-r--r--include/asm-generic/bitops.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-generic/bitops.h b/include/asm-generic/bitops.h
index 15e6f253dda4..c9f369c4bd7e 100644
--- a/include/asm-generic/bitops.h
+++ b/include/asm-generic/bitops.h
@@ -17,8 +17,6 @@
#include <asm-generic/bitops/fls64.h>
#include <asm-generic/bitops/find.h>
-#ifdef __KERNEL__
-
#ifndef _LINUX_BITOPS_H
#error only <linux/bitops.h> can be included directly
#endif
@@ -32,6 +30,4 @@
#include <asm-generic/bitops/ext2-atomic.h>
#include <asm-generic/bitops/minix.h>
-#endif /* __KERNEL__ */
-
#endif /* _ASM_GENERIC_BITOPS_H */