Re: [patch 1/8] x86_64: Reintroduce clustered_apic_check() for x86_64.

Ashok Raj
2005-08-01T22:42:36Z

On Mon, Aug 01, 2005 at 01:20:18PM -0700, Ashok Raj wrote:
> Auto selection of bigsmp patch removed this check from a shared common file
> in arch/i386/kernel/acpi/boot.c. We still need to call this to determine
> the right genapic code for x86_64.
>

Thanks venki,

missed the check for lapic and smp_found_config before the call.

Resending patch.

--
Cheers,
Ashok Raj
- Open Source Technology Center

Auto selection of bigsmp patch removed this check from a shared common file
in arch/i386/kernel/acpi/boot.c. We still need to call this to determine
the right genapic code for x86_64.

Signed-off-by: Ashok Raj <ashok.raj@intel.com>
-----------------------------------------------------------
arch/x86_64/kernel/setup.c | 2 ++
1 files changed, 2 insertions(+)

Index: linux-2.6.13-rc4-mm1/arch/x86_64/kernel/setup.c
===================================================================
--- linux-2.6.13-rc4-mm1.orig/arch/x86_64/kernel/setup.c
+++ linux-2.6.13-rc4-mm1/arch/x86_64/kernel/setup.c
@@ -663,6 +663,8 @@ void __init setup_arch(char **cmdline_p)
* Read APIC and some other early information from ACPI tables.
*/
acpi_boot_init();
+ if (acpi_lapic && smp_found_config)
+ clustered_apic_check();
#endif

#ifdef CONFIG_X86_LOCAL_APIC