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

David Rientjes
2011-10-16T00:41:42Z

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