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

James Bottomley
2011-10-16T00:57:03Z

On Sat, 2011-10-15 at 17:41 -0700, David Rientjes wrote:
> 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.

sba_iommu isn't possible with CONFIG_PA20=n; it's a ZX1 or above
feature.

> > How did you try to compile this file?
> >
>
> make allyesconfig
> make drivers/parisc/sba_iommu.o

OK, so just take one of the standard configs ... I don't think anyone's
tried much randconfig testing over parisc, most of the configuration
lore is handed down from the mountain on stone tablets.

James