Re: [PATCH] - Earlier detection of system type (UV or non-UV)

From: Ingo Molnar
Date: Fri Jul 18 2008 - 13:14:13 EST



* Jack Steiner <steiner@xxxxxxx> wrote:

> A patch is coming that requires earlier detection of system type (UV
> or non-UV) Move the logic that detects whether running on UV to
> acpi_boot_table_init().

> ===================================================================
> --- linux.orig/arch/x86/kernel/acpi/boot.c 2008-07-09 11:14:03.000000000 -0500
> +++ linux/arch/x86/kernel/acpi/boot.c 2008-07-09 11:14:33.000000000 -0500
> @@ -1712,6 +1712,10 @@ int __init acpi_boot_table_init(void)
> return error;
> }
>
> +#ifdef CONFIG_X86_64
> + acpi_table_parse(ACPI_SIG_MADT, acpi_early_madt_oem_check);
> +#endif
> +
> acpi_table_parse(ACPI_SIG_BOOT, acpi_parse_sbf);

why the assymetry? We should parse it regardless of 32-bit or 64-bit.
(even if UV is 64-bit only, obviously)

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