diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-04-30 03:55:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:54 -0400 |
commit | 969a19f1c405a8e9d15ceb9e75e3f4a321aaf56f (patch) | |
tree | eb850d961abcada8639b571cce8c06acae991aab /include/linux/byteorder/Kbuild | |
parent | ae50884f66fc93aa713feade8f87c03471241275 (diff) |
Drop the exporting of empty <linux/byteorder/generic.h>
Fix up the contents of <linux/byteorder/> so that it doesn't export a
content-free generic.h to user space. This involves:
* Removing the __KERNEL__ tests from generic.h and dropping it from
Kbuild.
* Wrapping the inclusions of generic.h in both big_endian.h and
little_endian.h in __KERNEL__ tests.
* Shifting big_endian.h and little_endian.h from header-y to
unifdef-y in Kbuild.
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/linux/byteorder/Kbuild')
-rw-r--r-- | include/linux/byteorder/Kbuild | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/byteorder/Kbuild b/include/linux/byteorder/Kbuild index 79bedddfd9ca..1133d5f9d818 100644 --- a/include/linux/byteorder/Kbuild +++ b/include/linux/byteorder/Kbuild | |||
@@ -1,5 +1,3 @@ | |||
1 | header-y += big_endian.h | 1 | unifdef-y += big_endian.h |
2 | header-y += little_endian.h | 2 | unifdef-y += little_endian.h |
3 | |||
4 | unifdef-y += generic.h | ||
5 | unifdef-y += swab.h | 3 | unifdef-y += swab.h |