xref: /OK3568_Linux_fs/kernel/arch/arc/include/uapi/asm/byteorder.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * This program is free software; you can redistribute it and/or modify
6*4882a593Smuzhiyun  * it under the terms of the GNU General Public License version 2 as
7*4882a593Smuzhiyun  * published by the Free Software Foundation.
8*4882a593Smuzhiyun  */
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun #ifndef __ASM_ARC_BYTEORDER_H
11*4882a593Smuzhiyun #define __ASM_ARC_BYTEORDER_H
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun #ifdef __BIG_ENDIAN__
14*4882a593Smuzhiyun #include <linux/byteorder/big_endian.h>
15*4882a593Smuzhiyun #else
16*4882a593Smuzhiyun #include <linux/byteorder/little_endian.h>
17*4882a593Smuzhiyun #endif
18*4882a593Smuzhiyun 
19*4882a593Smuzhiyun #endif /* ASM_ARC_BYTEORDER_H */
20