Re: [PATCH] mm: Generalize ARCH_HAS_FILTER_PGPROT
From: Anshuman Khandual
Date: Mon Jan 10 2022 - 06:45:06 EST
On 1/10/22 4:22 PM, Catalin Marinas wrote:
> On Mon, Jan 10, 2022 at 12:11:36PM +0530, Anshuman Khandual wrote:
>> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
>> index 5c2ccb85f2ef..d9594e05fddb 100644
>> --- a/arch/x86/Kconfig
>> +++ b/arch/x86/Kconfig
>> @@ -328,9 +328,6 @@ config GENERIC_CALIBRATE_DELAY
>> config ARCH_HAS_CPU_RELAX
>> def_bool y
>>
>> -config ARCH_HAS_FILTER_PGPROT
>> - def_bool y
>
> Aren't you missing a select for x86?
>
It already gets unconditionally selected in arch/x86/Kconfig.