Commit d503d01e authored by Mark Brown's avatar Mark Brown Committed by Will Deacon
Browse files

arm64/asm: Remove unused assembler DAIF save/restore macros



There are no longer any users of the assembler macros for saving and
restoring DAIF so remove them to prevent further users being added, there
are C equivalents available.

Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221123180209.634650-3-broonie@kernel.org


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent a8bf2fc4
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -34,11 +34,6 @@
	wx\n	.req	w\n
	.endr

	.macro save_and_disable_daif, flags
	mrs	\flags, daif
	msr	daifset, #0xf
	.endm

	.macro disable_daif
	msr	daifset, #0xf
	.endm
@@ -47,10 +42,6 @@
	msr	daifclr, #0xf
	.endm

	.macro	restore_daif, flags:req
	msr	daif, \flags
	.endm

/*
 * Save/restore interrupts.
 */