arm64: Remove unused macros from assembler.h
authorDaniel Thompson <daniel.thompson@linaro.org>
Fri, 10 Jul 2015 13:58:00 +0000 (14:58 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 27 Jul 2015 10:08:39 +0000 (11:08 +0100)
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>
arch/arm64/include/asm/assembler.h

index 144b64ad96c33bc80904ed053abdef2c6b5cf791..e10516bbe8339fc56b3c2b3cffd836bb92d1a338 100644 (file)
        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.
  */