diff options
author | Michal Simek <monstr@monstr.eu> | 2010-06-22 10:04:00 -0400 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-08-04 04:22:51 -0400 |
commit | 40eb0dc456dc3dd3f01da94e1f36085e956f20cc (patch) | |
tree | 1bfe9a5ee5cf6d866998ea6e6ed7765edfb4f0fe /arch/microblaze/kernel | |
parent | 653e447e113a19fcb54d454b9f5a3bff9979729f (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/kernel')
-rw-r--r-- | arch/microblaze/kernel/entry.S | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/microblaze/kernel/entry.S b/arch/microblaze/kernel/entry.S index 9b8e072d828d..8f4a45e34a9e 100644 --- a/arch/microblaze/kernel/entry.S +++ b/arch/microblaze/kernel/entry.S | |||
@@ -535,8 +535,6 @@ C_ENTRY(sys_rt_sigreturn_wrapper): | |||
535 | lwi r11, r0, TOPHYS(PER_CPU(ENTRY_SP)); \ | 535 | lwi r11, r0, TOPHYS(PER_CPU(ENTRY_SP)); \ |
536 | swi r11, r1, PTO+PT_R1; /* Store user SP. */ \ | 536 | swi r11, r1, PTO+PT_R1; /* Store user SP. */ \ |
537 | 2: lwi CURRENT_TASK, r0, TOPHYS(PER_CPU(CURRENT_SAVE)); \ | 537 | 2: lwi CURRENT_TASK, r0, TOPHYS(PER_CPU(CURRENT_SAVE)); \ |
538 | /* Save away the syscall number. */ \ | ||
539 | swi r0, r1, PTO+PT_R0; \ | ||
540 | tovirt(r1,r1) | 538 | tovirt(r1,r1) |
541 | 539 | ||
542 | C_ENTRY(full_exception_trap): | 540 | C_ENTRY(full_exception_trap): |
@@ -753,7 +751,6 @@ C_ENTRY(_interrupt): | |||
753 | swi r11, r1, PTO+PT_R1; | 751 | swi r11, r1, PTO+PT_R1; |
754 | 2: | 752 | 2: |
755 | lwi CURRENT_TASK, r0, TOPHYS(PER_CPU(CURRENT_SAVE)); | 753 | lwi CURRENT_TASK, r0, TOPHYS(PER_CPU(CURRENT_SAVE)); |
756 | swi r0, r1, PTO + PT_R0; | ||
757 | tovirt(r1,r1) | 754 | tovirt(r1,r1) |
758 | addik r5, r1, PTO; | 755 | addik r5, r1, PTO; |
759 | set_vms; | 756 | set_vms; |
@@ -868,8 +865,6 @@ C_ENTRY(_debug_exception): | |||
868 | lwi r11, r0, TOPHYS(PER_CPU(ENTRY_SP)); | 865 | lwi r11, r0, TOPHYS(PER_CPU(ENTRY_SP)); |
869 | swi r11, r1, PTO+PT_R1; /* Store user SP. */ | 866 | swi r11, r1, PTO+PT_R1; /* Store user SP. */ |
870 | 2: | 867 | 2: |
871 | /* Save away the syscall number. */ | ||
872 | swi r0, r1, PTO+PT_R0; | ||
873 | tovirt(r1,r1) | 868 | tovirt(r1,r1) |
874 | 869 | ||
875 | set_vms; | 870 | set_vms; |