[PATCH] ARM: XEN depends on having a MMU

Stefano Stabellini stefano.stabellini at eu.citrix.com
Wed Feb 26 09:45:19 EST 2014


On Wed, 26 Feb 2014, Uwe Kleine-König wrote:
> arch/arm/xen/enlighten.c (and maybe others) use MMU-specific functions
> like pte_mkspecial which are only available on MMU builds. So let XEN
> depend on MMU.
> 
> Suggested-by: Arnd Bergmann <arnd at arndb.de>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Acked-by: Stefano Stabellini <stefano.stabellini at eu.citrix.com>


>  arch/arm/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index e25419817791..1eb3a250210a 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -1903,6 +1903,7 @@ config XEN
>  	depends on ARM && AEABI && OF
>  	depends on CPU_V7 && !CPU_V6
>  	depends on !GENERIC_ATOMIC64
> +	depends on MMU
>  	select ARM_PSCI
>  	select SWIOTLB_XEN
>  	select ARCH_DMA_ADDR_T_64BIT
> -- 
> 1.8.5.3
> 


More information about the linux-arm-kernel mailing list