Commit 01e09a28 authored by Russell King's avatar Russell King

ARM: entry: get rid of asm_trace_hardirqs_on_cond

There's no need for this macro, it can use a default for the
condition argument.
Acked-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent b64d1f66
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
#endif #endif
.endm .endm
.macro asm_trace_hardirqs_on_cond, cond .macro asm_trace_hardirqs_on, cond=al
#if defined(CONFIG_TRACE_IRQFLAGS) #if defined(CONFIG_TRACE_IRQFLAGS)
/* /*
* actually the registers should be pushed and pop'd conditionally, but * actually the registers should be pushed and pop'd conditionally, but
...@@ -128,10 +128,6 @@ ...@@ -128,10 +128,6 @@
#endif #endif
.endm .endm
.macro asm_trace_hardirqs_on
asm_trace_hardirqs_on_cond al
.endm
.macro disable_irq .macro disable_irq
disable_irq_notrace disable_irq_notrace
asm_trace_hardirqs_off asm_trace_hardirqs_off
...@@ -173,7 +169,7 @@ ...@@ -173,7 +169,7 @@
.macro restore_irqs, oldcpsr .macro restore_irqs, oldcpsr
tst \oldcpsr, #PSR_I_BIT tst \oldcpsr, #PSR_I_BIT
asm_trace_hardirqs_on_cond eq asm_trace_hardirqs_on cond=eq
restore_irqs_notrace \oldcpsr restore_irqs_notrace \oldcpsr
.endm .endm
......
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