提交 a49f56ee 编写于 作者: E Edgar E. Iglesias 提交者: Michal Simek

microblaze: Fix a typo when disabling stack protection

Correct a typo causing the stack protector to be left enabled.
0xFFFFFFF -> 0xFFFFFFFF
Signed-off-by: NEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: NGuenter Roeck <linux@roeck-us.net>
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
上级 4f3cbd79
......@@ -66,7 +66,7 @@ real_start:
mts rmsr, r0
/* Disable stack protection from bootloader */
mts rslr, r0
addi r8, r0, 0xFFFFFFF
addi r8, r0, 0xFFFFFFFF
mts rshr, r8
/*
* According to Xilinx, msrclr instruction behaves like 'mfs rX,rpc'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册