diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-03-22 08:08:40 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-05-03 01:58:11 +1000 |
commit | 93f2cd813797baf5590459fb0439c62e873b7748 (patch) | |
tree | 3fbaaf3542d0176008cd494c1b2f951a25fe56d0 /arch/powerpc/kernel/setup-common.c | |
parent | 9c1d38b34e944cace44e0d2bea0beb5601a4d36d (diff) | |
download | blackbird-op-linux-93f2cd813797baf5590459fb0439c62e873b7748.tar.gz blackbird-op-linux-93f2cd813797baf5590459fb0439c62e873b7748.zip |
powerpc/mm: define an empty mm_iommu_init()
To avoid ifdefs, define a empty static inline mm_iommu_init() function
when CONFIG_SPAPR_TCE_IOMMU is not selected.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
-rw-r--r-- | arch/powerpc/kernel/setup-common.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c index 13054980e11a..d06d50fe1e7e 100644 --- a/arch/powerpc/kernel/setup-common.c +++ b/arch/powerpc/kernel/setup-common.c @@ -931,9 +931,7 @@ void __init setup_arch(char **cmdline_p) init_mm.end_data = (unsigned long) _edata; init_mm.brk = klimit; -#ifdef CONFIG_SPAPR_TCE_IOMMU mm_iommu_init(&init_mm); -#endif irqstack_early_init(); exc_lvl_early_init(); emergency_stack_init(); |