Re: [PATCH] allow console drivers to be called early

From: Jesse Barnes
Date: Thu May 13 2004 - 22:18:53 EST


On Thursday, May 13, 2004 7:44 pm, Andrew Morton wrote:
> > - if (!cpu_online(smp_processor_id()) &&
> > + if (!early_printk_ok && !cpu_online(smp_processor_id()) &&
>
> Is it not possible to mark this cpu as being online? It sure seems to be.

But then we miss out on all the good stuff happening in setup_arch since
smp_processor_id() isn't set in cpu_online_map until smp_prepare_boot_cpu. I
can try upping it in arch code, but iirc, I had problems with that in older
kernels due to the expectations of some of the other CPU upping code. I'll
give it a try again and either give you a good answer or send a more
appropriate patch to David.

Thanks,
Jesse
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/