aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/microblaze/kernel/entry.S24
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/microblaze/kernel/entry.S b/arch/microblaze/kernel/entry.S
index ff8d9872c774..16cb4f1d2338 100644
--- a/arch/microblaze/kernel/entry.S
+++ b/arch/microblaze/kernel/entry.S
@@ -48,56 +48,56 @@
48 */ 48 */
49#if CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR 49#if CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR
50 .macro clear_bip 50 .macro clear_bip
51 msrclr r11, MSR_BIP 51 msrclr r0, MSR_BIP
52 nop 52 nop
53 .endm 53 .endm
54 54
55 .macro set_bip 55 .macro set_bip
56 msrset r11, MSR_BIP 56 msrset r0, MSR_BIP
57 nop 57 nop
58 .endm 58 .endm
59 59
60 .macro clear_eip 60 .macro clear_eip
61 msrclr r11, MSR_EIP 61 msrclr r0, MSR_EIP
62 nop 62 nop
63 .endm 63 .endm
64 64
65 .macro set_ee 65 .macro set_ee
66 msrset r11, MSR_EE 66 msrset r0, MSR_EE
67 nop 67 nop
68 .endm 68 .endm
69 69
70 .macro disable_irq 70 .macro disable_irq
71 msrclr r11, MSR_IE 71 msrclr r0, MSR_IE
72 nop 72 nop
73 .endm 73 .endm
74 74
75 .macro enable_irq 75 .macro enable_irq
76 msrset r11, MSR_IE 76 msrset r0, MSR_IE
77 nop 77 nop
78 .endm 78 .endm
79 79
80 .macro set_ums 80 .macro set_ums
81 msrset r11, MSR_UMS 81 msrset r0, MSR_UMS
82 nop 82 nop
83 msrclr r11, MSR_VMS 83 msrclr r0, MSR_VMS
84 nop 84 nop
85 .endm 85 .endm
86 86
87 .macro set_vms 87 .macro set_vms
88 msrclr r11, MSR_UMS 88 msrclr r0, MSR_UMS
89 nop 89 nop
90 msrset r11, MSR_VMS 90 msrset r0, MSR_VMS
91 nop 91 nop
92 .endm 92 .endm
93 93
94 .macro clear_ums 94 .macro clear_ums
95 msrclr r11, MSR_UMS 95 msrclr r0, MSR_UMS
96 nop 96 nop
97 .endm 97 .endm
98 98
99 .macro clear_vms_ums 99 .macro clear_vms_ums
100 msrclr r11, MSR_VMS | MSR_UMS 100 msrclr r0, MSR_VMS | MSR_UMS
101 nop 101 nop
102 .endm 102 .endm
103#else 103#else