]> git.karo-electronics.de Git - linux-beck.git/commitdiff
microblaze: Optimize clear_vms_ums macro
authorMichal Simek <monstr@monstr.eu>
Tue, 22 Jun 2010 11:51:50 +0000 (13:51 +0200)
committerMichal 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

index 8f90ce7ecb6c3b8d0acae95fda0acd6c2534cd19..f5fe220954b0e636cbaec5d728f3bb406ad17160 100644 (file)
@@ -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