Skip to content

Commit

Permalink
[SPARC64]: Fix typo in sun4v_patch().
Browse files Browse the repository at this point in the history
Second instruction offset is '4' not '3'.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Mar 20, 2006
1 parent 6cebb52 commit fd05068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/sparc64/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ static void __init sun4v_patch(void)
wmb();
__asm__ __volatile__("flush %0" : : "r" (addr + 0));

*(unsigned int *) (addr + 3) = p2->insns[1];
*(unsigned int *) (addr + 4) = p2->insns[1];
wmb();
__asm__ __volatile__("flush %0" : : "r" (addr + 4));

Expand Down

0 comments on commit fd05068

Please sign in to comment.