aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/uapi/asm/swab.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/uapi/asm/swab.h')
-rw-r--r--arch/powerpc/include/uapi/asm/swab.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/powerpc/include/uapi/asm/swab.h b/arch/powerpc/include/uapi/asm/swab.h
new file mode 100644
index 000000000000..b6c368aa5c05
--- /dev/null
+++ b/arch/powerpc/include/uapi/asm/swab.h
@@ -0,0 +1,23 @@
1/*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License
4 * as published by the Free Software Foundation; either version
5 * 2 of the License, or (at your option) any later version.
6 */
7#ifndef _UAPI_ASM_POWERPC_SWAB_H
8#define _UAPI_ASM_POWERPC_SWAB_H
9
10
11#include <linux/types.h>
12#include <linux/compiler.h>
13
14#ifdef __GNUC__
15
16#ifndef __powerpc64__
17#define __SWAB_64_THRU_32__
18#endif /* __powerpc64__ */
19
20
21#endif /* __GNUC__ */
22
23#endif /* _UAPI_ASM_POWERPC_SWAB_H */