Hi Andrew,

On Thu, 13 Sep 2012 12:05:14 -0700 Andrew Morton <[email protected]> 
wrote:
>
> diff -puN arch/x86/Kconfig~mm-introduce-have_arch_transparent_hugepage 
> arch/x86/Kconfig
> --- a/arch/x86/Kconfig~mm-introduce-have_arch_transparent_hugepage
> +++ a/arch/x86/Kconfig
> @@ -83,7 +83,6 @@ config X86
>       select IRQ_FORCED_THREADING
>       select USE_GENERIC_SMP_HELPERS if SMP
>       select HAVE_BPF_JIT if X86_64
> -     select HAVE_ARCH_TRANSPARENT_HUGEPAGE

Why not
        select HAVE_ARCH_TRANSPARENT_HUGEPAGE if MMU

>       select CLKEVT_I8253
>       select ARCH_HAVE_NMI_SAFE_CMPXCHG
>       select GENERIC_IOMAP
> @@ -1330,6 +1329,10 @@ config ILLEGAL_POINTER_VALUE
>         default 0 if X86_32
>         default 0xdead000000000000 if X86_64
>  
> +config HAVE_ARCH_TRANSPARENT_HUGEPAGE
> +       def_bool y
> +       depends on MMU
> +

-- 
Cheers,
Stephen Rothwell                    [email protected]
http://www.canb.auug.org.au/~sfr/

Attachment: pgph3FAPRSXFr.pgp
Description: PGP signature

Reply via email to