]> err.no Git - linux-2.6/commitdiff
[SPARC64]: Fix typo in sun4v_patch().
authorDavid S. Miller <davem@sunset.davemloft.net>
Sat, 11 Feb 2006 19:05:52 +0000 (11:05 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:12:22 +0000 (01:12 -0800)
Second instruction offset is '4' not '3'.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/setup.c

index cec921f6cdbf33bf156936ca96beccaa4fc00343..f36b257b2e44f2a2ab2020dfefd4817883389371 100644 (file)
@@ -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));