On 2/6/20 11:21 AM, Dan Williams wrote:
....
Link:
http://lore.kernel.org/r/capcyv4gbgnp95apyabcsocea50tqj9b5h__83vgngjq3oug...@mail.gmail.com
Reported-by: Aneesh Kumar K.V <[email protected]>
Reported-by: Jeff Moyer <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Michael Ellerman <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
---
arch/powerpc/include/asm/io.h | 10 ++++++++++
drivers/nvdimm/pfn_devs.c | 2 +-
include/linux/io.h | 23 +++++++++++++++++++++++
include/linux/mmzone.h | 1 +
4 files changed, 35 insertions(+), 1 deletion(-)
The powerpc change here looks fine to me.
Acked-by: Michael Ellerman <[email protected]> (powerpc)
Thanks Michael, unfortunately the kbuild robot just woke up and said
that mips does not like including mmzone.h from io.h. The
entanglements look intractable.
Is there a file I can stash a strong definition of
memremap_compat_align(), maybe arch/powerpc/mm/mem.c? Then I can put a
generic __weak definition in mm/memremap.c rather than play header
file include games.
arch/powerpc/mm/ioremap.c ?
-aneesh