From: Robert P. J. Day Date: Wed, 30 Apr 2008 07:55:13 +0000 (-0700) Subject: remove __KERNEL__ tests of unexported headers under asm-generic/ X-Git-Tag: v2.6.26-rc1~113 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae50884f66fc93aa713feade8f87c03471241275;p=pandora-kernel.git remove __KERNEL__ tests of unexported headers under asm-generic/ Signed-off-by: Robert P. J. Day Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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 #include -#ifdef __KERNEL__ - #ifndef _LINUX_BITOPS_H #error only can be included directly #endif @@ -32,6 +30,4 @@ #include #include -#endif /* __KERNEL__ */ - #endif /* _ASM_GENERIC_BITOPS_H */ diff --git a/include/asm-generic/futex.h b/include/asm-generic/futex.h index 67b60b917d88..3c2344f48136 100644 --- a/include/asm-generic/futex.h +++ b/include/asm-generic/futex.h @@ -1,8 +1,6 @@ #ifndef _ASM_GENERIC_FUTEX_H #define _ASM_GENERIC_FUTEX_H -#ifdef __KERNEL__ - #include #include #include @@ -56,4 +54,3 @@ futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, int newval) } #endif -#endif Reading git-diff-tree failed