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:
Michal Simek 2010-06-22 13:15:53 +02:00
parent ca28b51016
commit a4a94dbf20

View File

@ -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 */ \