This series must be applied on top of Drew's series (v7): ppc64: initial drop It allows to build and use big-endian kvm-unit-tests on little- endian host (Patch #1), and to build and use little-endian kvm-unit-tests (Patch #2) on big and little endian hosts. The series is also available from: https://github.com/vivier/kvm-unit-tests/commits/ppc64/endianness-v2 v2: replace FIXUP_ENDIAN from linux by a home made version (B_BE and RETURN_FROM_BE) Laurent Vivier (2): powerpc: allow to build big-endian binaries on little-endian host powerpc: select endianness Makefile | 11 ++++++----- configure | 8 +++++++- lib/powerpc/asm/ppc_asm.h | 36 ++++++++++++++++++++++++++++++++++++ lib/ppc64/asm/io.h | 8 ++++++++ lib/ppc64/asm/ppc_asm.h | 1 + powerpc/Makefile | 2 +- powerpc/Makefile.big | 21 +++++++++++++++++++++ powerpc/Makefile.common | 29 +++++++++++++++-------------- powerpc/Makefile.little | 21 +++++++++++++++++++++ powerpc/Makefile.ppc64 | 19 ------------------- powerpc/cstart64.S | 14 ++++++++++---- 11 files changed, 126 insertions(+), 44 deletions(-) create mode 100644 lib/powerpc/asm/ppc_asm.h create mode 100644 lib/ppc64/asm/ppc_asm.h create mode 100644 powerpc/Makefile.big create mode 100644 powerpc/Makefile.little delete mode 100644 powerpc/Makefile.ppc64 -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html