[PATCH 2/3] mm: replace __HAVE_ARCH_PTE_SPECIAL

Christoph Hellwig hch at infradead.org
Mon Apr 9 10:57:57 PDT 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 linux-riscv mailing list