Re: [PATCH] add iommu_num_pages helper function

From: FUJITA Tomonori
Date: Tue Jul 29 2008 - 01:44:31 EST


On Mon, 28 Jul 2008 22:24:39 -0700 (PDT)
David Miller <davem@xxxxxxxxxxxxx> wrote:

> From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> Date: Tue, 29 Jul 2008 13:56:52 +1000
>
> > Um, did you see the linux-next build report I posted (possibly not):
> >
> > arch/powerpc/kernel/iommu.c:56: error: static declaration of 'iommu_num_pages' follows non-static declaration
> > include/linux/iommu-helper.h:11: error: previous declaration of 'iommu_num_pages' was here
> >
> > This is now a build of 2.6.27-rc1 for powerpc64 ppc64_defconfig ...
>
> It breaks sparc64 the same exact way. :-/

Yeah, it breaks both. It's not a proper helper function that all the
architectures can use so how about making it x86 stuff?

http://marc.info/?l=linux-kernel&m=121730644704448&w=2
--
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/