summaryrefslogtreecommitdiff
path: root/include/linux/swab.h
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2009-01-14 06:27:09 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-15 06:56:50 +0300
commit74d96f018673759d04d032c137d132f6447bfb1e (patch)
tree426f0649e0903c185a1426da65b4d8eeb5c8cf12 /include/linux/swab.h
parentaa0effbd1c0269ce7dd13be8dbf13e6b04f30ebd (diff)
downloadlinux-74d96f018673759d04d032c137d132f6447bfb1e.tar.xz
byteorder: make swab.h include asm/swab.h like a regular header
Add swab.h to kbuild.asm and remove the individual entries from each arch, mark as unifdef as some arches have some kernel-only bits inside. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/swab.h')
-rw-r--r--include/linux/swab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/swab.h b/include/linux/swab.h
index be5284d4a053..ea0c02fd5163 100644
--- a/include/linux/swab.h
+++ b/include/linux/swab.h
@@ -3,7 +3,7 @@
#include <linux/types.h>
#include <linux/compiler.h>
-#include <asm/byteorder.h>
+#include <asm/swab.h>
/*
* casts are necessary for constants, because we never know how for sure