aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-06-22 13:51:50 +0200
committerMichal Simek <monstr@monstr.eu>2010-08-04 10:22:43 +0200
commit3fbd93e58e0f3589720798b7c8992a25e4a2d3a4 (patch)
treec4790394fbf29f5becb398a587f3638edd26cbc4 /arch
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')
-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 8f90ce7ecb6..f5fe220954b 100644
--- a/arch/microblaze/kernel/entry.S
+++ b/arch/microblaze/kernel/entry.S
@@ -92,9 +92,7 @@
.endm
.macro clear_vms_ums
- msrclr r11, MSR_VMS
- nop
- msrclr r11, MSR_UMS
+ msrclr r11, MSR_VMS | MSR_UMS
nop
.endm
#else