Re: 2.6.12-rc5-mm2 on x86_64 missing pci_bus_to_node symbol

From: Andi Kleen
Date: Wed Jun 01 2005 - 14:07:58 EST


On Wed, Jun 01, 2005 at 11:57:45AM -0700, Rusty Lynch wrote:
> Attempting to install a fresh 2.6.12-rc5-mm2 kernel on my x86_64 box,
> I am unable to load my e1000 driver because pci_bus_to_node is undefined.
>
> I'm not sure if this is the correct way of fixing this, but here is a quick
> patch to export pci_bus_to_node on x86_64.

Looks good, thanks.
-Andi

>
> --rusty
>
> arch/x86_64/kernel/x8664_ksyms.c | 1 +
> 1 files changed, 1 insertion(+)
>
> Index: linux-2.6.12-rc5-mm2/arch/x86_64/kernel/x8664_ksyms.c
> ===================================================================
> --- linux-2.6.12-rc5-mm2.orig/arch/x86_64/kernel/x8664_ksyms.c
> +++ linux-2.6.12-rc5-mm2/arch/x86_64/kernel/x8664_ksyms.c
> @@ -207,3 +207,4 @@ EXPORT_SYMBOL(flush_tlb_page);
> #endif
>
> EXPORT_SYMBOL(cpu_khz);
> +EXPORT_SYMBOL(pci_bus_to_node);
-
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/