Re: [PATCH 3/5] x86/pci merge: Fixing numaq initialization

From: Yinghai Lu
Date: Thu Jul 10 2008 - 13:51:30 EST


On Thu, Jul 10, 2008 at 9:58 AM, Robert Richter <robert.richter@xxxxxxx> wrote:
> Patch d49c4288 (tip/x86/mpparse) introduced some changes in calling
> subsys_init calls if CONFIG_X86_NUMAQ option is set. This patch
> updates subsystem initalization according to this changes.
>
> Signed-off-by: Robert Richter <robert.richter@xxxxxxx>
> ---
> arch/x86/pci/legacy.c | 3 +++
> arch/x86/pci/numa.c | 10 +---------
> arch/x86/pci/pci.h | 1 +
> 3 files changed, 5 insertions(+), 9 deletions(-)
>
> diff --git a/arch/x86/pci/legacy.c b/arch/x86/pci/legacy.c
> index 3c1d795..d8b6e92 100644
> --- a/arch/x86/pci/legacy.c
> +++ b/arch/x86/pci/legacy.c
> @@ -62,6 +62,9 @@ int __init pci_subsys_init(void)
> #endif
> pci_legacy_init();
> pcibios_irq_init();
> +#ifdef CONFIG_X86_NUMAQ
> + pci_numa_init();
> +#endif
> pcibios_init();
> }

please change sequence to

+#ifdef CONFIG_X86_NUMAQ
+ pci_numa_init();
+#endif
#ifdef CONFIG_ACPI
pci_acpi_init();
#endif
pci_legacy_init();

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