swab.h 602 B

123456789101112131415161718192021222324
  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. #include <linux/types.h>
  11. #include <linux/compiler.h>
  12. #ifdef __GNUC__
  13. #ifndef __powerpc64__
  14. #define __SWAB_64_THRU_32__
  15. #endif /* __powerpc64__ */
  16. #endif /* __GNUC__ */
  17. #endif /* _UAPI_ASM_POWERPC_SWAB_H */