diff options
author | David S. Miller <davem@davemloft.net> | 2009-03-29 15:44:22 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-29 15:44:22 -0700 |
commit | ed223129a30de7d244ca9b59819f5532c9caf039 (patch) | |
tree | 9ea5649276c18f13356c4db1663368e071081a25 /arch/sparc/mm/init_64.c | |
parent | ffaba674090f287afe0c44fd8d978c64c03581a8 (diff) | |
parent | 81f1adf01224f5c0be5f90f43664f799c1f7bb2d (diff) | |
download | kernel_samsung_tuna-ed223129a30de7d244ca9b59819f5532c9caf039.zip kernel_samsung_tuna-ed223129a30de7d244ca9b59819f5532c9caf039.tar.gz kernel_samsung_tuna-ed223129a30de7d244ca9b59819f5532c9caf039.tar.bz2 |
Merge branch 'master' of ssh://master.kernel.org/home/ftp/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask-for-sparc
Conflicts:
arch/sparc/kernel/smp_64.c
Diffstat (limited to 'arch/sparc/mm/init_64.c')
-rw-r--r-- | arch/sparc/mm/init_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index 00373ce..2c8dfeb 100644 --- a/arch/sparc/mm/init_64.c +++ b/arch/sparc/mm/init_64.c @@ -1092,7 +1092,7 @@ static void __init numa_parse_mdesc_group_cpus(struct mdesc_handle *md, if (strcmp(name, "cpu")) continue; id = mdesc_get_property(md, target, "id", NULL); - if (*id < NR_CPUS) + if (*id < nr_cpu_ids) cpu_set(*id, *mask); } } |