ia64/xen-unstable
changeset 13105:baa07859f24f
[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@sgi.com>
fall back to getting nasid from sal cal if sn_nodepda is not yet available
Signed-off-by: Jes Sorensen <jes@sgi.com>
author | awilliam@xenbuild2.aw |
---|---|
date | Tue Dec 19 13:21:24 2006 -0700 (2006-12-19) |
parents | e17d7438e09e |
children | 37309be26861 |
files | xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c |
line diff
1.1 --- a/xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c Fri Dec 15 11:32:58 2006 -0700 1.2 +++ b/xen/arch/ia64/linux-xen/sn/kernel/sn2_smp.c Tue Dec 19 13:21:24 2006 -0700 1.3 @@ -438,6 +438,11 @@ void sn2_send_IPI(int cpuid, int vector, 1.4 int nasid; 1.5 1.6 physid = cpu_physical_id(cpuid); 1.7 +#ifdef XEN 1.8 + if (!sn_nodepda) { 1.9 + ia64_sn_get_sapic_info(physid, &nasid, NULL, NULL); 1.10 + } else 1.11 +#endif 1.12 nasid = cpuid_to_nasid(cpuid); 1.13 1.14 /* the following is used only when starting cpus at boot time */