mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 15:41:39 +00:00
microblaze: Optimize clear_vms_ums macro
We can save two instruction when MSR_VMS and MSR_UMS are setup in one instruction. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
36f6095419
commit
3fbd93e58e
@ -92,9 +92,7 @@
|
||||
.endm
|
||||
|
||||
.macro clear_vms_ums
|
||||
msrclr r11, MSR_VMS
|
||||
nop
|
||||
msrclr r11, MSR_UMS
|
||||
msrclr r11, MSR_VMS | MSR_UMS
|
||||
nop
|
||||
.endm
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user