Commit 2ff4936c authored by Mark Rutland's avatar Mark Rutland Committed by Will Deacon

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: default avatarMark Rutland <>
Acked-by: default avatarCatalin Marinas <>
Cc: James Morse <>
Cc: Marc Zyngier <>
Cc: Will Deacon <>
Signed-off-by: default avatarWill Deacon <>
parent 8ee70879
......@@ -26,18 +26,6 @@
#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]!
.macro pop, xreg1, xreg2
ldp \xreg1, \xreg2, [sp], #16
* Enable and disable interrupts.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment