mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
Revert "arm64: Remove unused macros from assembler.h"
This reverts commit <d3127afa71>
("arm64: Remove unused macros from assembler.h")
This is required for flush_cache_all to work.
Change-Id: I469602e2f35b15bf13667322f3ffbe61dab90f91
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
This commit is contained in:
parent
8753004097
commit
93a6067a76
1 changed files with 12 additions and 0 deletions
|
|
@ -71,6 +71,18 @@
|
|||
msr daif, \flags
|
||||
.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
|
||||
|
||||
.macro enable_dbg
|
||||
msr daifclr, #8
|
||||
.endm
|
||||
|
|
|
|||
Loading…
Reference in a new issue