74d96f0186
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>
12 lines
277 B
C
12 lines
277 B
C
#ifndef _XTENSA_BYTEORDER_H
|
|
#define _XTENSA_BYTEORDER_H
|
|
|
|
#ifdef __XTENSA_EL__
|
|
#include <linux/byteorder/little_endian.h>
|
|
#elif defined(__XTENSA_EB__)
|
|
#include <linux/byteorder/big_endian.h>
|
|
#else
|
|
# error processor byte order undefined!
|
|
#endif
|
|
|
|
#endif /* _XTENSA_BYTEORDER_H */
|