Browse Source

arm64: Remove unused macros from assembler.h

Commit 68234df4ea79 ("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>
Daniel Thompson 10 years ago
parent
commit
d3127afa71
1 changed files with 0 additions and 12 deletions
  1. 0 12
      arch/arm64/include/asm/assembler.h

+ 0 - 12
arch/arm64/include/asm/assembler.h

@@ -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.
  */