]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: drop #ifdef CONFIG_MMU in is_ioremap_addr()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 21 Aug 2019 10:13:32 +0000 (10:13 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 Nov 2019 11:27:51 +0000 (22:27 +1100)
commitbb984cd9fb3a19b933bf8d4af34a9485dc13bf24
tree8c6d60334fd8d0ae3d13a73177e538f0736c0bfd
parent08be778c9b63c68b3ca094f78db8a6ba4f1b6d16
powerpc/mm: drop #ifdef CONFIG_MMU in is_ioremap_addr()

powerpc always selects CONFIG_MMU and CONFIG_MMU is not checked
anywhere else in powerpc code.

Drop the #ifdef and the alternative part of is_ioremap_addr()

Fixes: ff3878b5fe08 ("mm/nvdimm: add is_ioremap_addr and use that to check ioremap address")
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/de395e444fb8dd7a6365c3314d78e15ebb3d7d1b.1566382245.git.christophe.leroy@c-s.fr
arch/powerpc/include/asm/pgtable.h