Re: [patch] x86 CPU detection for RDC

From: H. Peter Anvin
Date: Mon Aug 17 2009 - 14:58:36 EST


On 08/17/2009 11:46 AM, Andi Kleen wrote:
> "H. Peter Anvin" <hpa@xxxxxxxxx> writes:
>
>> On 08/17/2009 11:08 AM, Ingo Molnar wrote:
>>> X86_RDC321X already exists in arch/x86/Kconfig. It should probably
>>> grow a 'depends on PCI' rline or so.
>>>
>> Sounds like it.
>
> iirc the patch used early pci which is actually self contained
> in its header. The main problem was that it didn't use it correctly.
>

Just saw your other email. early_pci_allowed() is defined in
arch/x86/pci/early.c which is only compiled (as is the whole
arch/x86/pci directory) if CONFIG_PCI is enabled, so the compile-time
guard is needed.

-hpa

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