aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/microblaze/kernel/head.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/head.S b/arch/microblaze/kernel/head.S
index 817b7eec95b6..b7fb0438458c 100644
--- a/arch/microblaze/kernel/head.S
+++ b/arch/microblaze/kernel/head.S
@@ -64,6 +64,10 @@ real_start:
64#endif 64#endif
65 65
66 mts rmsr, r0 66 mts rmsr, r0
67/* Disable stack protection from bootloader */
68 mts rslr, r0
69 addi r8, r0, 0xFFFFFFF
70 mts rshr, r8
67/* 71/*
68 * According to Xilinx, msrclr instruction behaves like 'mfs rX,rpc' 72 * According to Xilinx, msrclr instruction behaves like 'mfs rX,rpc'
69 * if the msrclr instruction is not enabled. We use this to detect 73 * if the msrclr instruction is not enabled. We use this to detect