From: Mark Rutland Date: Tue, 19 Apr 2016 09:31:19 +0000 (+0100) Subject: arm64: asm: remove unused push/pop macros X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2ff4936c1d68060b080aac49ec622b047f9e6c45;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git arm64: asm: remove unused push/pop macros We haven't used the push/pop macros for a while now, as it's typically better to use immediate offsets for batches of accesses to the stack, as we now do in the entry assembly for the kernel and hyp code. Remove the unused macros. Signed-off-by: Mark Rutland Acked-by: Catalin Marinas Cc: James Morse Cc: Marc Zyngier Cc: Will Deacon Signed-off-by: Will Deacon --- diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h index 70f7b9e04598..972fb55af9f1 100644 --- a/arch/arm64/include/asm/assembler.h +++ b/arch/arm64/include/asm/assembler.h @@ -26,18 +26,6 @@ #include #include -/* - * Stack pushing/popping (register pairs only). Equivalent to store decrement - * before, load increment after. - */ - .macro push, xreg1, xreg2 - stp \xreg1, \xreg2, [sp, #-16]! - .endm - - .macro pop, xreg1, xreg2 - ldp \xreg1, \xreg2, [sp], #16 - .endm - /* * Enable and disable interrupts. */