projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36f6095
)
microblaze: Optimize clear_vms_ums macro
author
Michal Simek
<monstr@monstr.eu>
Tue, 22 Jun 2010 11:51:50 +0000
(13:51 +0200)
committer
Michal Simek
<monstr@monstr.eu>
Wed, 4 Aug 2010 08:22:43 +0000
(10:22 +0200)
We can save two instruction when MSR_VMS and MSR_UMS
are setup in one instruction.
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/entry.S
patch
|
blob
|
history
diff --git
a/arch/microblaze/kernel/entry.S
b/arch/microblaze/kernel/entry.S
index 8f90ce7ecb6c3b8d0acae95fda0acd6c2534cd19..f5fe220954b0e636cbaec5d728f3bb406ad17160 100644
(file)
--- 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