From: Daniel Thompson Date: Fri, 10 Jul 2015 13:58:00 +0000 (+0100) Subject: arm64: Remove unused macros from assembler.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d3127afa712321a2b297cfee358be2cb223f933c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Mark Rutland Signed-off-by: Will Deacon --- diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h index 144b64ad96c3..e10516bbe833 100644 --- a/arch/arm64/include/asm/assembler.h +++ b/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. */