Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE12
linux-glibc-devel
0001-powerpc-Include-the-appropriate-endianness...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-powerpc-Include-the-appropriate-endianness-header.patch of Package linux-glibc-devel
From c57a5ce0df04be61bafedc0f3043d568103c7ab5 Mon Sep 17 00:00:00 2001 From: Ian Munsie <imunsie@au1.ibm.com> Date: Mon, 23 Sep 2013 12:04:44 +1000 Subject: [PATCH] powerpc: Include the appropriate endianness header Git-commit: c57a5ce0df04be61bafedc0f3043d568103c7ab5 Patch-mainline: v3.13-rc1 References: bnc#873486 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> Acked-by: Michal Marek <mmarek@suse.cz> --- usr/include/asm-powerpc/byteorder.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/usr/include/asm-powerpc/byteorder.h b/usr/include/asm-powerpc/byteorder.h index aa6cc4f..ca931d0 100644 --- a/usr/include/asm-powerpc/byteorder.h +++ b/usr/include/asm-powerpc/byteorder.h @@ -7,6 +7,10 @@ * 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 */ -- 1.8.4.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor