On Mon, Apr 20, 2015 at 11:06 AM, Christoph Hellwig <hch(a)infradead.org> wrote:
On Mon, Apr 20, 2015 at 02:00:06PM -0400, Dan Williams wrote:
> Paul says:
> "...noticed this patch contains the only Kconfig typo I know by heart.
> Because I think you meant to say:
> depends on (X86 || IA64 || ARM || ARM64 || SUPERH || XTENSA)"
This just shows how bogus this style of Kconfig dependency is.
Instead let each arch declare that is has the feature, either using a
def_bool in Kconfig or a #define in a header.
Yeah, this was a stop-gap solution after 0day pointed out that
ioremap_cache() does not exist on all archs. I'll take a look at
providing a generic fallback...