aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze/kernel/entry.S
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-06-22 07:51:50 -0400
committerMichal Simek <monstr@monstr.eu>2010-08-04 04:22:43 -0400
commit3fbd93e58e0f3589720798b7c8992a25e4a2d3a4 (patch)
treec4790394fbf29f5becb398a587f3638edd26cbc4 /arch/microblaze/kernel/entry.S
parent36f6095419b100479bd3ffabcafe4dac8d918734 (diff)
microblaze: Optimize clear_vms_ums macro
We can save two instruction when MSR_VMS and MSR_UMS are setup in one instruction. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/entry.S')
-rw-r--r--arch/microblaze/kernel/entry.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/microblaze/kernel/entry.S b/arch/microblaze/kernel/entry.S
index 8f90ce7ecb6c..f5fe220954b0 100644
--- a/arch/microblaze/kernel/entry.S
+++ b/arch/microblaze/kernel/entry.S
@@ -92,9 +92,7 @@
92 .endm 92 .endm
93 93
94 .macro clear_vms_ums 94 .macro clear_vms_ums
95 msrclr r11, MSR_VMS 95 msrclr r11, MSR_VMS | MSR_UMS
96 nop
97 msrclr r11, MSR_UMS
98 nop 96 nop
99 .endm 97 .endm
100#else 98#else