Re: [PATCH] um: add dummy ioremap and iounmap functions
From: Al Viro
Date: Wed May 24 2017 - 18:05:17 EST
On Wed, May 24, 2017 at 04:00:52PM -0600, Logan Gunthorpe wrote:
> The user mode architecture does not provide ioremap or iounmap, and
> because of this, the arch won't build when the functions are used in some
> core libraries.
>
> I have designs to use these functions in scatterlist.c where they'd
> almost certainly never be called on the um architecture but it does need
> to compile.
Then make it fail there.
Incidentally, s390 has ioremap() only when CONFIG_PCI is set.