diff options
Diffstat (limited to 'arch/powerpc/include/uapi/asm/byteorder.h')
-rw-r--r-- | arch/powerpc/include/uapi/asm/byteorder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/include/uapi/asm/byteorder.h b/arch/powerpc/include/uapi/asm/byteorder.h index aa6cc4fac965..ca931d074000 100644 --- a/arch/powerpc/include/uapi/asm/byteorder.h +++ b/arch/powerpc/include/uapi/asm/byteorder.h | |||
@@ -7,6 +7,10 @@ | |||
7 | * as published by the Free Software Foundation; either version | 7 | * as published by the Free Software Foundation; either version |
8 | * 2 of the License, or (at your option) any later version. | 8 | * 2 of the License, or (at your option) any later version. |
9 | */ | 9 | */ |
10 | #ifdef __LITTLE_ENDIAN__ | ||
11 | #include <linux/byteorder/little_endian.h> | ||
12 | #else | ||
10 | #include <linux/byteorder/big_endian.h> | 13 | #include <linux/byteorder/big_endian.h> |
14 | #endif | ||
11 | 15 | ||
12 | #endif /* _ASM_POWERPC_BYTEORDER_H */ | 16 | #endif /* _ASM_POWERPC_BYTEORDER_H */ |