c57a5ce0df
This patch will have powerpc include the appropriate generic endianness header depending on what the compiler reports. Signed-off-by: Ian Munsie <imunsie@au1.ibm.com> Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
17 lines
486 B
C
17 lines
486 B
C
#ifndef _ASM_POWERPC_BYTEORDER_H
|
|
#define _ASM_POWERPC_BYTEORDER_H
|
|
|
|
/*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version
|
|
* 2 of the License, or (at your option) any later version.
|
|
*/
|
|
#ifdef __LITTLE_ENDIAN__
|
|
#include <linux/byteorder/little_endian.h>
|
|
#else
|
|
#include <linux/byteorder/big_endian.h>
|
|
#endif
|
|
|
|
#endif /* _ASM_POWERPC_BYTEORDER_H */
|