arm64: asm: remove unused push/pop macros
authorMark Rutland <mark.rutland@arm.com>
Tue, 19 Apr 2016 09:31:19 +0000 (10:31 +0100)
committerWill Deacon <will.deacon@arm.com>
Wed, 20 Apr 2016 11:19:01 +0000 (12:19 +0100)
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 <mark.rutland@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/assembler.h

index 70f7b9e04598bdf953b56d40794f1ab5aaf966ca..972fb55af9f10744bd18c720b03419a06fa7f78c 100644 (file)
 #include <asm/ptrace.h>
 #include <asm/thread_info.h>
 
-/*
- * 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.
  */
This page took 0.027456 seconds and 5 git commands to generate.