public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] linux/kernel.h userspace header cleanup
@ 2008-06-23 17:49 Adrian Bunk
  2008-06-23 23:51 ` Andrew Morton
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-06-23 17:49 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrew Morton

Nothing from the bottom of this header is part of the 
kernel<->userspace ABI.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

 include/linux/kernel.h |    4 ++++
 1 file changed, 4 insertions(+)

c023fd63795380bceef9abc92c1d6fca91791de7 diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 792bf0a..2993b80 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -487,6 +487,8 @@ struct sysinfo {
 	char _f[20-2*sizeof(long)-sizeof(int)];	/* Padding: libc5 uses this.. */
 };
 
+#ifdef __KERNEL__
+
 /* Force a compilation error if condition is true */
 #define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
 
@@ -506,4 +508,6 @@ struct sysinfo {
 #define NUMA_BUILD 0
 #endif
 
+#endif  /*  __KERNEL__  */
+
 #endif


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-23 23:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-23 17:49 [2.6 patch] linux/kernel.h userspace header cleanup Adrian Bunk
2008-06-23 23:51 ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox