summaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2010-06-22 15:51:50 +0400
committerMichal Simek <monstr@monstr.eu>2010-08-04 12:22:43 +0400
commit3fbd93e58e0f3589720798b7c8992a25e4a2d3a4 (patch)
treec4790394fbf29f5becb398a587f3638edd26cbc4 /arch/microblaze
parent36f6095419b100479bd3ffabcafe4dac8d918734 (diff)
downloadlinux-3fbd93e58e0f3589720798b7c8992a25e4a2d3a4.tar.xz
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')
-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 @@
.endm
.macro clear_vms_ums
- msrclr r11, MSR_VMS
- nop
- msrclr r11, MSR_UMS
+ msrclr r11, MSR_VMS | MSR_UMS
nop
.endm
#else