Re: [RFC patch 4/4] x86: Add pci subarch init to x86_init

From: Jesse Barnes
Date: Sun Aug 30 2009 - 11:42:40 EST


On Sun, 30 Aug 2009 13:05:42 -0000
Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:

> Replace the #ifdef'ed olpc specific init function by a conditional
> x86_init function. This hook is also helpful for the upcoming
> Moorestown support.
>
> Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> ---
> arch/x86/include/asm/olpc.h | 20 ++------------------
> arch/x86/include/asm/pci_x86.h | 1 -
> arch/x86/include/asm/x86_init.h | 4 +++-
> arch/x86/kernel/olpc.c | 8 +++++---
> arch/x86/pci/init.c | 7 +++----
> arch/x86/pci/olpc.c | 3 ---
> 6 files changed, 13 insertions(+), 30 deletions(-)

This is definitely nicer than what we have today... There's one other
PCI patch for MRST in my pci tree:
http://git.kernel.org/?p=linux/kernel/git/jbarnes/pci-2.6.git;a=shortlog;h=mrst-support
it might also need updating in light of these changes.

--
Jesse Barnes, Intel Open Source Technology Center
--
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/