Re: [patch] parisc, iommu: add missing include for prefetchw()

From: David Rientjes
Date: Sat Oct 15 2011 - 20:42:27 EST


On Sat, 15 Oct 2011, James Bottomley wrote:

> This isn't physically possible on the parisc platform: prefetch.h is
> included by processor.h which, amongst other things, goes into
> spinlock.h which is above this file in sba_iommu.c
>

asm/prefetch.h is included in processor.h, not linux/prefetch.h. Thus,
it's undefined for CONFIG_PA20=n.

> How did you try to compile this file?
>

make allyesconfig
make drivers/parisc/sba_iommu.o
--
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/