diff options
author | Alexander Graf <agraf@suse.de> | 2014-06-16 14:37:53 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-07-07 12:02:51 +0200 |
commit | 55ab169b7b9276e6e1e01a88531bcf34803dcde2 (patch) | |
tree | 71b254f3e4db35e63f42adf2714e16f2c5d3f775 /arch/powerpc/kvm/book3s_rmhandlers.S | |
parent | KVM: PPC: Assembly functions exported to modules need _GLOBAL_TOC() (diff) | |
download | linux-55ab169b7b9276e6e1e01a88531bcf34803dcde2.tar.xz linux-55ab169b7b9276e6e1e01a88531bcf34803dcde2.zip |
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>
Diffstat (limited to 'arch/powerpc/kvm/book3s_rmhandlers.S')
-rw-r--r-- | arch/powerpc/kvm/book3s_rmhandlers.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/book3s_rmhandlers.S b/arch/powerpc/kvm/book3s_rmhandlers.S index 4850a224e5bf..16c4d88ba27d 100644 --- a/arch/powerpc/kvm/book3s_rmhandlers.S +++ b/arch/powerpc/kvm/book3s_rmhandlers.S @@ -36,7 +36,11 @@ #if defined(CONFIG_PPC_BOOK3S_64) +#if defined(_CALL_ELF) && _CALL_ELF == 2 +#define FUNC(name) name +#else #define FUNC(name) GLUE(.,name) +#endif #elif defined(CONFIG_PPC_BOOK3S_32) |