Re: [PATCH 02/34] AMD IOMMU: add header file for driver datastructures and defines

From: FUJITA Tomonori
Date: Sun Jun 29 2008 - 19:13:39 EST


On Sun, 29 Jun 2008 17:14:54 +0200
Joerg Roedel <joerg.roedel@xxxxxxx> wrote:

> On Mon, Jun 30, 2008 at 12:07:15AM +0900, FUJITA Tomonori wrote:
> > On Thu, 26 Jun 2008 21:27:38 +0200
> > Joerg Roedel <joerg.roedel@xxxxxxx> wrote:
> >
> > > This patch adds a header file local to the AMD IOMMU driver with constants and
> > > data structures needed in the code.
> > >
> > > Signed-off-by: Joerg Roedel <joerg.roedel@xxxxxxx>
> > > ---
> > > include/asm-x86/amd_iommu_types.h | 242 +++++++++++++++++++++++++++++++++++++
> > > 1 files changed, 242 insertions(+), 0 deletions(-)
> > > create mode 100644 include/asm-x86/amd_iommu_types.h
> >
> > Is necessary to make this file visible to everyone by putting this in
> > include/asm?
>
> The alternative was to put this file in arch/x86/kernel/. But I don't
> think its the right place for include files. We have include/ for that.

Hmm, really? It's the right thing in the SCSI subsystem at least. You
don't need to put a header file having only private stuff in include/.
--
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/