diff options
author | Mark Brown <broonie@kernel.org> | 2022-11-23 21:02:09 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-11-25 15:17:53 +0300 |
commit | d503d01e5016370be8473fc23d800c7ff37ab7f6 (patch) | |
tree | 732c3d91f7d90ca8ebdcb9ece00872988f5b2097 /arch/arm64/include/asm/assembler.h | |
parent | a8bf2fc43fc63c0bd38b45c9a9616d43b683585d (diff) | |
download | linux-d503d01e5016370be8473fc23d800c7ff37ab7f6.tar.xz |
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: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20221123180209.634650-3-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/include/asm/assembler.h')
-rw-r--r-- | arch/arm64/include/asm/assembler.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm64/include/asm/assembler.h b/arch/arm64/include/asm/assembler.h index 88175551b401..d8d6627be0f6 100644 --- a/arch/arm64/include/asm/assembler.h +++ b/arch/arm64/include/asm/assembler.h @@ -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. */ |