X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=init%2Fmain.c;fp=init%2Fmain.c;h=0e22f40487bba5bceea3ddf7266b0a340e005ce1;hb=476f35348eb8d2a827765992899fea78b7dcc46f;hp=df982ff5d2b0da8de5dba4fd18ff6a0c30681aa3;hpb=aee16b3cee2746880e40945a9b5bff4f309cfbc4;p=powerpc.git diff --git a/init/main.c b/init/main.c index df982ff5d2..0e22f40487 100644 --- a/init/main.c +++ b/init/main.c @@ -384,11 +384,6 @@ static void __init setup_per_cpu_areas(void) static void __init smp_init(void) { unsigned int cpu; - unsigned highest = 0; - - for_each_cpu_mask(cpu, cpu_possible_map) - highest = cpu; - nr_cpu_ids = highest + 1; /* FIXME: This should be done in userspace --RR */ for_each_present_cpu(cpu) {