Re: [RFC PATCH 4/4] x86: according to nr_cpu_ids to decide if needto leave logical flat

From: Linus Torvalds
Date: Mon Jan 11 2010 - 22:22:54 EST




On Mon, 11 Jan 2010, Yinghai Lu wrote:
> +
> +void default_setup_apic_routing(void)

Good cleanup, makes x86-64 and x86-32 look similar. However, you should
mark it __init too, I think, to match the current probe_64.c thing.

Also, what about the default_setup_apic_routing() call in
arch/x86/kernel/apic/apic.c? Is that not ripe for unification too now? You
only did the smpboot.c one, not the APIC_init_uniprocessor() one.

Hmm?

Linus
--
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/