diff options
-rw-r--r-- | arch/microblaze/kernel/entry.S | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/microblaze/kernel/entry.S b/arch/microblaze/kernel/entry.S index 7a19d8910e3b..d40a59f9db4b 100644 --- a/arch/microblaze/kernel/entry.S +++ b/arch/microblaze/kernel/entry.S | |||
@@ -180,15 +180,17 @@ | |||
180 | 180 | ||
181 | /* turn on virtual protected mode save */ | 181 | /* turn on virtual protected mode save */ |
182 | #define VM_ON \ | 182 | #define VM_ON \ |
183 | set_ums; \ | 183 | set_ums; \ |
184 | rted r0, 2f; \ | 184 | rted r0, 2f; \ |
185 | 2: nop; | 185 | nop; \ |
186 | 2: | ||
186 | 187 | ||
187 | /* turn off virtual protected mode save and user mode save*/ | 188 | /* turn off virtual protected mode save and user mode save*/ |
188 | #define VM_OFF \ | 189 | #define VM_OFF \ |
189 | clear_vms_ums; \ | 190 | clear_vms_ums; \ |
190 | rted r0, TOPHYS(1f); \ | 191 | rted r0, TOPHYS(1f); \ |
191 | 1: nop; | 192 | nop; \ |
193 | 1: | ||
192 | 194 | ||
193 | #define SAVE_REGS \ | 195 | #define SAVE_REGS \ |
194 | swi r2, r1, PTO+PT_R2; /* Save SDA */ \ | 196 | swi r2, r1, PTO+PT_R2; /* Save SDA */ \ |