diff options
Diffstat (limited to 'arch/microblaze/kernel/entry.S')
-rw-r--r-- | arch/microblaze/kernel/entry.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/entry.S b/arch/microblaze/kernel/entry.S index ab4f1e159308..8539c6c0e741 100644 --- a/arch/microblaze/kernel/entry.S +++ b/arch/microblaze/kernel/entry.S | |||
@@ -295,6 +295,8 @@ C_ENTRY(_user_exception): | |||
295 | /* addik r1, r1, -STATE_SAVE_SIZE; */ | 295 | /* addik r1, r1, -STATE_SAVE_SIZE; */ |
296 | addik r1, r1, THREAD_SIZE + CONFIG_KERNEL_BASE_ADDR - CONFIG_KERNEL_START - STATE_SAVE_SIZE; | 296 | addik r1, r1, THREAD_SIZE + CONFIG_KERNEL_BASE_ADDR - CONFIG_KERNEL_START - STATE_SAVE_SIZE; |
297 | SAVE_REGS | 297 | SAVE_REGS |
298 | swi r0, r1, PTO + PT_R3 | ||
299 | swi r0, r1, PTO + PT_R4 | ||
298 | 300 | ||
299 | lwi r11, r0, TOPHYS(PER_CPU(ENTRY_SP)); | 301 | lwi r11, r0, TOPHYS(PER_CPU(ENTRY_SP)); |
300 | swi r11, r1, PTO+PT_R1; /* Store user SP. */ | 302 | swi r11, r1, PTO+PT_R1; /* Store user SP. */ |