aboutsummaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-06-22 16:04:00 +0200
committerMichal Simek <monstr@monstr.eu>2010-08-04 10:22:51 +0200
commit40eb0dc456dc3dd3f01da94e1f36085e956f20cc (patch)
tree1bfe9a5ee5cf6d866998ea6e6ed7765edfb4f0fe /arch/microblaze
parent653e447e113a19fcb54d454b9f5a3bff9979729f (diff)
microblaze: Remove additional loading
We don't need to save r0 to PT_R0. It could be additional operation. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/kernel/entry.S5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/microblaze/kernel/entry.S b/arch/microblaze/kernel/entry.S
index 9b8e072d828..8f4a45e34a9 100644
--- a/arch/microblaze/kernel/entry.S
+++ b/arch/microblaze/kernel/entry.S
@@ -535,8 +535,6 @@ C_ENTRY(sys_rt_sigreturn_wrapper):
lwi r11, r0, TOPHYS(PER_CPU(ENTRY_SP)); \
swi r11, r1, PTO+PT_R1; /* Store user SP. */ \
2: lwi CURRENT_TASK, r0, TOPHYS(PER_CPU(CURRENT_SAVE)); \
- /* Save away the syscall number. */ \
- swi r0, r1, PTO+PT_R0; \
tovirt(r1,r1)
C_ENTRY(full_exception_trap):
@@ -753,7 +751,6 @@ C_ENTRY(_interrupt):
swi r11, r1, PTO+PT_R1;
2:
lwi CURRENT_TASK, r0, TOPHYS(PER_CPU(CURRENT_SAVE));
- swi r0, r1, PTO + PT_R0;
tovirt(r1,r1)
addik r5, r1, PTO;
set_vms;
@@ -868,8 +865,6 @@ C_ENTRY(_debug_exception):
lwi r11, r0, TOPHYS(PER_CPU(ENTRY_SP));
swi r11, r1, PTO+PT_R1; /* Store user SP. */
2:
- /* Save away the syscall number. */
- swi r0, r1, PTO+PT_R0;
tovirt(r1,r1)
set_vms;