LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] x86_64: not set boot cpu in cpu_present_map again
@ 2008-01-28 2:27 Yinghai Lu
2008-01-28 12:40 ` Ingo Molnar
0 siblings, 1 reply; 3+ messages in thread
From: Yinghai Lu @ 2008-01-28 2:27 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Linux Kernel Mailing List
[PATCH] x86_64: not set boot cpu in cpu_present_map again
in init/main.c boot_cpu_init() already does that before setup_arch
Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Index: linux-2.6/arch/x86/kernel/setup_64.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/setup_64.c
+++ linux-2.6/arch/x86/kernel/setup_64.c
@@ -446,12 +446,6 @@ void __init setup_arch(char **cmdline_p)
early_quirks();
- /*
- * set this early, so we dont allocate cpu0
- * if MADT list doesnt list BSP first
- * mpparse.c/MP_processor_info() allocates logical cpu numbers.
- */
- cpu_set(0, cpu_present_map);
#ifdef CONFIG_ACPI
/*
* Read APIC and some other early information from ACPI tables.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] x86_64: not set boot cpu in cpu_present_map again
2008-01-28 2:27 [PATCH] x86_64: not set boot cpu in cpu_present_map again Yinghai Lu
@ 2008-01-28 12:40 ` Ingo Molnar
0 siblings, 0 replies; 3+ messages in thread
From: Ingo Molnar @ 2008-01-28 12:40 UTC (permalink / raw)
To: Yinghai Lu; +Cc: Linux Kernel Mailing List
* Yinghai Lu <Yinghai.Lu@Sun.COM> wrote:
> [PATCH] x86_64: not set boot cpu in cpu_present_map again
>
> in init/main.c boot_cpu_init() already does that before setup_arch
thanks, applied.
Ingo
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] x86_64: not set boot cpu in cpu_present_map again
@ 2007-11-24 22:57 Yinghai Lu
0 siblings, 0 replies; 3+ messages in thread
From: Yinghai Lu @ 2007-11-24 22:57 UTC (permalink / raw)
To: Andrew Morton, Thomas Gleixner; +Cc: LKML
[PATCH] x86_64: not set boot cpu in cpu_present_map again
in init/main.c boot_cpu_init() already does that before setup_arch
Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index 30d94d1..9905c45 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -409,12 +409,6 @@ void __init setup_arch(char **cmdline_p)
early_quirks();
#endif
- /*
- * set this early, so we dont allocate cpu0
- * if MADT list doesnt list BSP first
- * mpparse.c/MP_processor_info() allocates logical cpu numbers.
- */
- cpu_set(0, cpu_present_map);
#ifdef CONFIG_ACPI
/*
* Read APIC and some other early information from ACPI tables.
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-28 12:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-28 2:27 [PATCH] x86_64: not set boot cpu in cpu_present_map again Yinghai Lu
2008-01-28 12:40 ` Ingo Molnar
-- strict thread matches above, loose matches on Subject: below --
2007-11-24 22:57 Yinghai Lu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).