From: David S. Miller Date: Sat, 11 Feb 2006 19:05:52 +0000 (-0800) Subject: [SPARC64]: Fix typo in sun4v_patch(). X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fd05068d7b22b64211f9202aa67ad44b51d44242;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [SPARC64]: Fix typo in sun4v_patch(). Second instruction offset is '4' not '3'. Signed-off-by: David S. Miller --- diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c index cec921f6cdbf..f36b257b2e44 100644 --- a/arch/sparc64/kernel/setup.c +++ b/arch/sparc64/kernel/setup.c @@ -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));