aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/entry.S
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-17 11:38:06 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:13:24 -0500
commitebd8c56c5ae154e2c6cfb7453a76a4e7265b2377 (patch)
tree155df85100a1316ac103dcaed140d20ddc72c855 /arch/sparc64/kernel/entry.S
parent101d5c18a928ef82b6c7bf99a9eaa536b5ccf593 (diff)
[SPARC64]: Fix uniprocessor IRQ targetting on SUN4V.
We need to use the real hardware processor ID when targetting interrupts, not the "define to 0" thing the uniprocessor build gives us. Also, fill in the Node-ID and Agent-ID fields properly on sun4u/Safari. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/entry.S')
-rw-r--r--arch/sparc64/kernel/entry.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/entry.S b/arch/sparc64/kernel/entry.S
index f5c8a293979f..bd332e41532f 100644
--- a/arch/sparc64/kernel/entry.S
+++ b/arch/sparc64/kernel/entry.S
@@ -1692,10 +1692,12 @@ __flushw_user:
1692#ifdef CONFIG_SMP 1692#ifdef CONFIG_SMP
1693 .globl hard_smp_processor_id 1693 .globl hard_smp_processor_id
1694hard_smp_processor_id: 1694hard_smp_processor_id:
1695#endif
1696 .globl real_hard_smp_processor_id
1697real_hard_smp_processor_id:
1695 __GET_CPUID(%o0) 1698 __GET_CPUID(%o0)
1696 retl 1699 retl
1697 nop 1700 nop
1698#endif
1699 1701
1700 /* %o0: devhandle 1702 /* %o0: devhandle
1701 * %o1: devino 1703 * %o1: devino