mirror of https://gitee.com/openkylin/linux.git
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