Skip to content

Commit

Permalink
arm64: Remove unused macros from assembler.h
Browse files Browse the repository at this point in the history
Commit 68234df ("arm64: kill flush_cache_all()") removed the
only users of these macros.

Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
  • Loading branch information
Daniel Thompson authored and Will Deacon committed Jul 27, 2015
1 parent e147ae6 commit d3127af
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions arch/arm64/include/asm/assembler.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,6 @@
msr daifclr, #2
.endm

/*
* Save/disable and restore interrupts.
*/
.macro save_and_disable_irqs, olddaif
mrs \olddaif, daif
disable_irq
.endm

.macro restore_irqs, olddaif
msr daif, \olddaif
.endm

/*
* Enable and disable debug exceptions.
*/
Expand Down

0 comments on commit d3127af

Please sign in to comment.