diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-07-25 20:12:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 23:57:14 -0400 |
commit | 5190f0c030f46b3169205f34f6d9ef480fa39ef2 (patch) | |
tree | 5ae8f4edb4fdfb84a51e41390d0b43c4e4d2c891 /include/asm-generic | |
parent | f35119d6681300ba6d76da53cb1ebc2eed62e77a (diff) |
asm-generic/system.h: drop useless __KERNEL__
This header isn't exported to user-space, and even if it was, the
__KERNEL__ check covers the entire file, so we'd get a useless stub in the
first place. So punt it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/system.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-generic/system.h b/include/asm-generic/system.h index 4b0b9cbbfae5..215efa74f5a2 100644 --- a/include/asm-generic/system.h +++ b/include/asm-generic/system.h | |||
@@ -14,7 +14,6 @@ | |||
14 | #ifndef __ASM_GENERIC_SYSTEM_H | 14 | #ifndef __ASM_GENERIC_SYSTEM_H |
15 | #define __ASM_GENERIC_SYSTEM_H | 15 | #define __ASM_GENERIC_SYSTEM_H |
16 | 16 | ||
17 | #ifdef __KERNEL__ | ||
18 | #ifndef __ASSEMBLY__ | 17 | #ifndef __ASSEMBLY__ |
19 | 18 | ||
20 | #include <linux/types.h> | 19 | #include <linux/types.h> |
@@ -139,5 +138,4 @@ unsigned long __xchg(unsigned long x, volatile void *ptr, int size) | |||
139 | 138 | ||
140 | #endif /* !__ASSEMBLY__ */ | 139 | #endif /* !__ASSEMBLY__ */ |
141 | 140 | ||
142 | #endif /* __KERNEL__ */ | ||
143 | #endif /* __ASM_GENERIC_SYSTEM_H */ | 141 | #endif /* __ASM_GENERIC_SYSTEM_H */ |