aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/setup.c
diff options
context:
space:
mode:
authorTony Luck <aegl@agluck-desktop.(none)>2009-03-31 17:24:52 -0400
committerTony Luck <tony.luck@intel.com>2009-03-31 17:24:52 -0400
commit50fbe56c127efde659c686495eb1f925fd84ff0a (patch)
tree6eb331035b3c03b4f97ba888c6d66017e84df4c5 /arch/ia64/kernel/setup.c
parent15f7176eb1cccec0a332541285ee752b935c1c85 (diff)
parent5d8c39f68e1dc78c1a958e28bc685a5bac125b21 (diff)
Pull cpumask into release branch
Diffstat (limited to 'arch/ia64/kernel/setup.c')
-rw-r--r--arch/ia64/kernel/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c
index 865af27c7737..ae9ec3dc76b8 100644
--- a/arch/ia64/kernel/setup.c
+++ b/arch/ia64/kernel/setup.c
@@ -730,10 +730,10 @@ static void *
730c_start (struct seq_file *m, loff_t *pos) 730c_start (struct seq_file *m, loff_t *pos)
731{ 731{
732#ifdef CONFIG_SMP 732#ifdef CONFIG_SMP
733 while (*pos < NR_CPUS && !cpu_isset(*pos, cpu_online_map)) 733 while (*pos < nr_cpu_ids && !cpu_online(*pos))
734 ++*pos; 734 ++*pos;
735#endif 735#endif
736 return *pos < NR_CPUS ? cpu_data(*pos) : NULL; 736 return *pos < nr_cpu_ids ? cpu_data(*pos) : NULL;
737} 737}
738 738
739static void * 739static void *