Skip to content

Commit

Permalink
microblaze: Fix a typo when disabling stack protection
Browse files Browse the repository at this point in the history
Correct a typo causing the stack protector to be left enabled.
0xFFFFFFF -> 0xFFFFFFFF

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
  • Loading branch information
Edgar E. Iglesias authored and Michal Simek committed Feb 10, 2014
1 parent 4f3cbd7 commit a49f56e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/microblaze/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit a49f56e

Please sign in to comment.