Adopt macro names from Linux.
Cc: Alexander Graf agraf@suse.de Signed-off-by: Andreas Färber andreas.faerber@web.de --- include/arch/ppc/asmdefs.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/include/arch/ppc/asmdefs.h b/include/arch/ppc/asmdefs.h index 05a89b2..e20e8ee 100644 --- a/include/arch/ppc/asmdefs.h +++ b/include/arch/ppc/asmdefs.h @@ -100,13 +100,21 @@ #endif
#ifdef __powerpc64__ +#define PPC_LL ld +#define PPC_STL std +#define PPC_STLU stdu #define RFI rfid #define MTMSRD(r) mtmsrd r #define BRANCH_LABEL(name) . ## name +#define PPC_LR_STKOFF 16 #else +#define PPC_LL lwz +#define PPC_STL stw +#define PPC_STLU stwu #define RFI rfi #define MTMSRD(r) mtmsr r #define BRANCH_LABEL(name) name +#define PPC_LR_STKOFF 4 #endif
#ifndef __darwin__