diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2011-08-05 14:58:33 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-05 18:20:17 +0200 |
commit | 9b64050669a10c4c085f3fdb44e28ab70d90ee44 (patch) | |
tree | f3e3d9af6c1a995ee38c241bd90d0bda91af57e3 /arch/mips/include/asm/byteorder.h | |
parent | 922808aec8be2a4da877b0cdcf1ea183c907ef9f (diff) | |
download | barebox-9b64050669a10c4c085f3fdb44e28ab70d90ee44.tar.gz barebox-9b64050669a10c4c085f3fdb44e28ab70d90ee44.tar.xz |
MIPS: import header files
from linux-2.6.39:
* arch/mips/include/asm/*
* include/asm-generic/int-ll64.h
from barebox-2011.07.0 arch/x86:
* arch/mips/include/asm/sections.h
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/include/asm/byteorder.h')
-rw-r--r-- | arch/mips/include/asm/byteorder.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/mips/include/asm/byteorder.h b/arch/mips/include/asm/byteorder.h new file mode 100644 index 0000000000..9579051ff1 --- /dev/null +++ b/arch/mips/include/asm/byteorder.h @@ -0,0 +1,19 @@ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1996, 99, 2003 by Ralf Baechle + */ +#ifndef _ASM_BYTEORDER_H +#define _ASM_BYTEORDER_H + +#if defined(__MIPSEB__) +#include <linux/byteorder/big_endian.h> +#elif defined(__MIPSEL__) +#include <linux/byteorder/little_endian.h> +#else +# error "MIPS, but neither __MIPSEB__, nor __MIPSEL__???" +#endif + +#endif /* _ASM_BYTEORDER_H */ |