diff options
author | Aurelien Jacquiot <a-jacquiot@ti.com> | 2011-10-04 11:14:47 -0400 |
---|---|---|
committer | Mark Salter <msalter@redhat.com> | 2011-10-06 19:48:20 -0400 |
commit | a7f626c1948ab6178d2338831c5ffea7385e9f7f (patch) | |
tree | 03eaee71023fa633c24a3d28a30da57b454293ae /arch/c6x/include/asm/byteorder.h | |
parent | 52679b2d735492bce02503bafb333da87fae22c2 (diff) | |
download | op-kernel-dev-a7f626c1948ab6178d2338831c5ffea7385e9f7f.zip op-kernel-dev-a7f626c1948ab6178d2338831c5ffea7385e9f7f.tar.gz |
C6X: headers
Original port to early 2.6 kernel using TI COFF toolchain.
Brought up to date by Mark Salter <msalter@redhat.com>
Signed-off-by: Aurelien Jacquiot <a-jacquiot@ti.com>
Signed-off-by: Mark Salter <msalter@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/c6x/include/asm/byteorder.h')
-rw-r--r-- | arch/c6x/include/asm/byteorder.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/c6x/include/asm/byteorder.h b/arch/c6x/include/asm/byteorder.h new file mode 100644 index 0000000..166038d --- /dev/null +++ b/arch/c6x/include/asm/byteorder.h @@ -0,0 +1,12 @@ +#ifndef _ASM_C6X_BYTEORDER_H +#define _ASM_C6X_BYTEORDER_H + +#include <asm/types.h> + +#ifdef _BIG_ENDIAN +#include <linux/byteorder/big_endian.h> +#else /* _BIG_ENDIAN */ +#include <linux/byteorder/little_endian.h> +#endif /* _BIG_ENDIAN */ + +#endif /* _ASM_BYTEORDER_H */ |