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