Skip to content

Commit 91942d1

Browse files
Uwe Kleine-KönigRussell King
authored andcommitted
ARM: 8112/1: only select ARM_PATCH_PHYS_VIRT if MMU is enabled
This fixes the following warning: warning: (ARCH_MULTIPLATFORM && ARCH_INTEGRATOR && ARCH_SHMOBILE_LEGACY) selects ARM_PATCH_PHYS_VIRT which has unmet direct dependencies (!XIP_KERNEL && MMU && (!ARCH_REALVIEW || !SPARSEMEM)) Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent 8cf2389 commit 91942d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ config ARCH_MULTIPLATFORM
312312
config ARCH_INTEGRATOR
313313
bool "ARM Ltd. Integrator family"
314314
select ARM_AMBA
315-
select ARM_PATCH_PHYS_VIRT
315+
select ARM_PATCH_PHYS_VIRT if MMU
316316
select AUTO_ZRELADDR
317317
select COMMON_CLK
318318
select COMMON_CLK_VERSATILE
@@ -658,7 +658,7 @@ config ARCH_MSM
658658
config ARCH_SHMOBILE_LEGACY
659659
bool "Renesas ARM SoCs (non-multiplatform)"
660660
select ARCH_SHMOBILE
661-
select ARM_PATCH_PHYS_VIRT
661+
select ARM_PATCH_PHYS_VIRT if MMU
662662
select CLKDEV_LOOKUP
663663
select GENERIC_CLOCKEVENTS
664664
select HAVE_ARM_SCU if SMP

0 commit comments

Comments
 (0)