Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

KVM: PPC: Book3S PR: Fix ABIv2 on LE

We switched to ABIv2 on Little Endian systems now which gets rid of the
dotted function names. Branch to the actual functions when we see such
a system.

Signed-off-by: Alexander Graf <agraf@suse.de>

+8
+4
arch/powerpc/kvm/book3s_interrupts.S
··· 25 25 #include <asm/exception-64s.h> 26 26 27 27 #if defined(CONFIG_PPC_BOOK3S_64) 28 + #if defined(_CALL_ELF) && _CALL_ELF == 2 29 + #define FUNC(name) name 30 + #else 28 31 #define FUNC(name) GLUE(.,name) 32 + #endif 29 33 #define GET_SHADOW_VCPU(reg) addi reg, r13, PACA_SVCPU 30 34 31 35 #elif defined(CONFIG_PPC_BOOK3S_32)
+4
arch/powerpc/kvm/book3s_rmhandlers.S
··· 36 36 37 37 #if defined(CONFIG_PPC_BOOK3S_64) 38 38 39 + #if defined(_CALL_ELF) && _CALL_ELF == 2 40 + #define FUNC(name) name 41 + #else 39 42 #define FUNC(name) GLUE(.,name) 43 + #endif 40 44 41 45 #elif defined(CONFIG_PPC_BOOK3S_32) 42 46