mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 00:30:52 +07:00
microblaze: Fix VM_ON and VM_OFF macros
Jump behind macro. We don't want to execute nop instruction again. Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
ca28b51016
commit
a4a94dbf20
@ -180,15 +180,17 @@
|
||||
|
||||
/* turn on virtual protected mode save */
|
||||
#define VM_ON \
|
||||
set_ums; \
|
||||
set_ums; \
|
||||
rted r0, 2f; \
|
||||
2: nop;
|
||||
nop; \
|
||||
2:
|
||||
|
||||
/* turn off virtual protected mode save and user mode save*/
|
||||
#define VM_OFF \
|
||||
clear_vms_ums; \
|
||||
clear_vms_ums; \
|
||||
rted r0, TOPHYS(1f); \
|
||||
1: nop;
|
||||
nop; \
|
||||
1:
|
||||
|
||||
#define SAVE_REGS \
|
||||
swi r2, r1, PTO+PT_R2; /* Save SDA */ \
|
||||
|
Loading…
Reference in New Issue
Block a user