[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] sn2 - only get nasid from nodepda if sn_nodepda is available



# HG changeset patch
# User awilliam@xxxxxxxxxxxx
# Date 1166559684 25200
# Node ID baa07859f24f0687b4eef5a84422f4b6a747ded9
# Parent  e17d7438e09e5ead12049b44f5bf9d842a401129
[IA64] sn2 - only get nasid from nodepda if sn_nodepda is available

fall back to getting nasid from sal cal if sn_nodepda is not yet available

Signed-off-by: Jes Sorensen <jes@xxxxxxx>
---
 xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c |    5 +++++
 1 files changed, 5 insertions(+)

diff -r e17d7438e09e -r baa07859f24f xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c
--- a/xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c       Fri Dec 15 11:32:58 
2006 -0700
+++ b/xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c       Tue Dec 19 13:21:24 
2006 -0700
@@ -438,6 +438,11 @@ void sn2_send_IPI(int cpuid, int vector,
        int nasid;
 
        physid = cpu_physical_id(cpuid);
+#ifdef XEN
+       if (!sn_nodepda) {
+               ia64_sn_get_sapic_info(physid, &nasid, NULL, NULL);
+       } else
+#endif
        nasid = cpuid_to_nasid(cpuid);
 
        /* the following is used only when starting cpus at boot time */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.