projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8bf2fc
)
arm64/asm: Remove unused assembler DAIF save/restore macros
author
Mark Brown
<broonie@kernel.org>
Wed, 23 Nov 2022 18:02:09 +0000
(18:02 +0000)
committer
Will Deacon
<will@kernel.org>
Fri, 25 Nov 2022 12:17:53 +0000
(12:17 +0000)
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>
arch/arm64/include/asm/assembler.h
patch
|
blob
|
history
diff --git
a/arch/arm64/include/asm/assembler.h
b/arch/arm64/include/asm/assembler.h
index 88175551b401fa387c4f0c39dc5155402d9f12f0..d8d6627be0f619bce3cc569a5edf44faef8e8f6d 100644
(file)
--- 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.
*/