Title: [9833] trunk/include/asm-generic/system.h: asm-generic/system.h: drop useless __KERNEL__
Revision
9833
Author
vapier
Date
2011-04-13 19:46:56 -0400 (Wed, 13 Apr 2011)

Log Message

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.

Modified Paths

Diff

Modified: trunk/include/asm-generic/system.h (9832 => 9833)


--- trunk/include/asm-generic/system.h	2011-04-13 23:46:29 UTC (rev 9832)
+++ trunk/include/asm-generic/system.h	2011-04-13 23:46:56 UTC (rev 9833)
@@ -14,7 +14,6 @@
 #ifndef __ASM_GENERIC_SYSTEM_H
 #define __ASM_GENERIC_SYSTEM_H
 
-#ifdef __KERNEL__
 #ifndef __ASSEMBLY__
 
 #include <linux/types.h>
@@ -139,5 +138,4 @@
 
 #endif /* !__ASSEMBLY__ */
 
-#endif /* __KERNEL__ */
 #endif /* __ASM_GENERIC_SYSTEM_H */
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to