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