Re: [PATCH 2/3] mm: replace __HAVE_ARCH_PTE_SPECIAL

From: Christoph Hellwig
Date: Mon Apr 09 2018 - 13:58:10 EST


> -#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.