Re: [PATCH] move arch/x86/pci/pci.h toarch/x86/include/asm/pci_x86.h

From: Ingo Molnar
Date: Mon Dec 29 2008 - 05:08:23 EST



* Jaswinder Singh Rajput <jaswinder@xxxxxxxxxxxxx> wrote:

> On Mon, 2008-12-29 at 09:57 +0300, Alexey Dobriyan wrote:
> > On Sat, Dec 27, 2008 at 06:32:28PM +0530, Jaswinder Singh Rajput wrote:
> > > Impact: cleanup, arch/x86/pci/pci.h -> arch/x86/include/asm/pci_x86.h
> >
> > And this is done for what?
>
> Don't you think ïarch/x86/pci/pci.h looks ugly it should be in
> arch/x86/incluse/asm directory ?
>
> It was suggested by Ingo :
> http://marc.info/?l=linux-kernel&m=123037395221921&w=2
>
> I think Ingo will have more valid reasons to satisfy your curiousity ;-)

yes - the reason why i asked for that is that asm/pci.h already exists,
and it is included in generic code (via linux/include/pci.h) and provides
public PCI interfaces.

pci_x86.h (a'ka arch/x86/pci/pci.h) includes lowlevel x86-only internals,
included from a handful PCI arch/x86/ platform .c files.

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/