diff options
author | Greentime Hu <greentime@andestech.com> | 2017-10-25 14:58:32 +0800 |
---|---|---|
committer | Greentime Hu <greentime@andestech.com> | 2018-02-22 10:44:34 +0800 |
commit | 5c86fa7f7f8568e85a934f064721d355ec7f486c (patch) | |
tree | 9062a268aee030493a447b7ea2f66aeb53da4d44 /arch/nds32/include/uapi | |
parent | beebdeaa1d39125ef5a38818024e93b365621a3b (diff) |
nds32: Miscellaneous header files
This patch introduces some miscellaneous header files.
Signed-off-by: Vincent Chen <vincentc@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/nds32/include/uapi')
-rw-r--r-- | arch/nds32/include/uapi/asm/byteorder.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/nds32/include/uapi/asm/byteorder.h b/arch/nds32/include/uapi/asm/byteorder.h new file mode 100644 index 000000000000..a23f6f3a2468 --- /dev/null +++ b/arch/nds32/include/uapi/asm/byteorder.h @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2005-2017 Andes Technology Corporation + +#ifndef __NDS32_BYTEORDER_H__ +#define __NDS32_BYTEORDER_H__ + +#ifdef __NDS32_EB__ +#include <linux/byteorder/big_endian.h> +#else +#include <linux/byteorder/little_endian.h> +#endif + +#endif /* __NDS32_BYTEORDER_H__ */ |