diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-11 20:05:52 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 10:12:22 +0100 |
commit | fd05068d7b22b64211f9202aa67ad44b51d44242 (patch) | |
tree | f9b5ce3df021fc8775b6f6ed83f03af18ce0a004 /arch/sparc64/kernel/setup.c | |
parent | [SPARC64]: Fix sun4v early bootup. (diff) | |
download | linux-fd05068d7b22b64211f9202aa67ad44b51d44242.tar.xz linux-fd05068d7b22b64211f9202aa67ad44b51d44242.zip |
[SPARC64]: Fix typo in sun4v_patch().
Second instruction offset is '4' not '3'.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/setup.c')
-rw-r--r-- | arch/sparc64/kernel/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |