xref: /OK3568_Linux_fs/kernel/arch/powerpc/include/uapi/asm/swab.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2*4882a593Smuzhiyun /*
3*4882a593Smuzhiyun  * This program is free software; you can redistribute it and/or
4*4882a593Smuzhiyun  * modify it under the terms of the GNU General Public License
5*4882a593Smuzhiyun  * as published by the Free Software Foundation; either version
6*4882a593Smuzhiyun  * 2 of the License, or (at your option) any later version.
7*4882a593Smuzhiyun  */
8*4882a593Smuzhiyun #ifndef _UAPI_ASM_POWERPC_SWAB_H
9*4882a593Smuzhiyun #define _UAPI_ASM_POWERPC_SWAB_H
10*4882a593Smuzhiyun 
11*4882a593Smuzhiyun 
12*4882a593Smuzhiyun #include <linux/types.h>
13*4882a593Smuzhiyun #include <linux/compiler.h>
14*4882a593Smuzhiyun 
15*4882a593Smuzhiyun #ifdef __GNUC__
16*4882a593Smuzhiyun 
17*4882a593Smuzhiyun #ifndef __powerpc64__
18*4882a593Smuzhiyun #define __SWAB_64_THRU_32__
19*4882a593Smuzhiyun #endif /* __powerpc64__ */
20*4882a593Smuzhiyun 
21*4882a593Smuzhiyun 
22*4882a593Smuzhiyun #endif /* __GNUC__ */
23*4882a593Smuzhiyun 
24*4882a593Smuzhiyun #endif /* _UAPI_ASM_POWERPC_SWAB_H */
25