diff options
author | Chris Zankel <chris@zankel.net> | 2007-05-31 17:47:01 -0700 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2007-05-31 17:47:01 -0700 |
commit | de4f6e5b41bef50fc981410ae8380f27f4e93bf8 (patch) | |
tree | 39e467255d33f89becf50425b019ce5cf402681f /include/asm-xtensa/byteorder.h | |
parent | 176fd6c96dcbc263eb1c61eae9fe2a33f23a876d (diff) | |
download | op-kernel-dev-de4f6e5b41bef50fc981410ae8380f27f4e93bf8.zip op-kernel-dev-de4f6e5b41bef50fc981410ae8380f27f4e93bf8.tar.gz |
[XTENSA] clean-up header files
The header files in the asm-xtensa directory are not clean and
'make headers_check' fails. This is a first patch to fix most of
the header files. It removes unnecessary include statements and
adds some that are required for building the kernel. The linker
script required some updates or the linking stage would fail.
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'include/asm-xtensa/byteorder.h')
-rw-r--r-- | include/asm-xtensa/byteorder.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-xtensa/byteorder.h b/include/asm-xtensa/byteorder.h index 0f540a5..765edf1 100644 --- a/include/asm-xtensa/byteorder.h +++ b/include/asm-xtensa/byteorder.h @@ -12,6 +12,7 @@ #define _XTENSA_BYTEORDER_H #include <asm/types.h> +#include <linux/compiler.h> static __inline__ __attribute_const__ __u32 ___arch__swab32(__u32 x) { @@ -78,4 +79,4 @@ static __inline__ __attribute_const__ __u16 ___arch__swab16(__u16 x) # error processor byte order undefined! #endif -#endif /* __ASM_XTENSA_BYTEORDER_H */ +#endif /* _XTENSA_BYTEORDER_H */ |