[SPARC64]: Fix typo in sun4v_patch().
Second instruction offset is '4' not '3'. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6cebb52094
commit
fd05068d7b
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue