[PATCH 2/3] mm: replace __HAVE_ARCH_PTE_SPECIAL

Christoph Hellwig hch at infradead.org
Tue Apr 10 03:57:57 AEST 2018


> -#ifdef __HAVE_ARCH_PTE_SPECIAL
> +#ifdef CONFIG_ARCH_HAS_PTE_SPECIAL
>  # define HAVE_PTE_SPECIAL 1
>  #else
>  # define HAVE_PTE_SPECIAL 0

I'd say kill this odd indirection and just use the
CONFIG_ARCH_HAS_PTE_SPECIAL symbol directly.



More information about the Linuxppc-dev mailing list