Commit fd05068d authored by David S. Miller's avatar David S. Miller

[SPARC64]: Fix typo in sun4v_patch().

Second instruction offset is '4' not '3'.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6cebb520
...@@ -583,7 +583,7 @@ static void __init sun4v_patch(void) ...@@ -583,7 +583,7 @@ static void __init sun4v_patch(void)
wmb(); wmb();
__asm__ __volatile__("flush %0" : : "r" (addr + 0)); __asm__ __volatile__("flush %0" : : "r" (addr + 0));
*(unsigned int *) (addr + 3) = p2->insns[1]; *(unsigned int *) (addr + 4) = p2->insns[1];
wmb(); wmb();
__asm__ __volatile__("flush %0" : : "r" (addr + 4)); __asm__ __volatile__("flush %0" : : "r" (addr + 4));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment