Re: [PATCH 1/4] mm: make the __PAGETABLE_PxD_FOLDED defines non-empty

2018-10-31 Thread Kirill A. Shutemov
On Wed, Oct 31, 2018 at 01:59:58PM +0100, Martin Schwidefsky wrote: > Change the currently empty defines for __PAGETABLE_PMD_FOLDED, > __PAGETABLE_PUD_FOLDED and __PAGETABLE_P4D_FOLDED to return 1. > This makes it possible to use __is_defined() to test if the > preprocessor define exists. > >

Re: [PATCH 1/4] mm: make the __PAGETABLE_PxD_FOLDED defines non-empty

2018-10-31 Thread Kirill A. Shutemov
On Wed, Oct 31, 2018 at 01:59:58PM +0100, Martin Schwidefsky wrote: > Change the currently empty defines for __PAGETABLE_PMD_FOLDED, > __PAGETABLE_PUD_FOLDED and __PAGETABLE_P4D_FOLDED to return 1. > This makes it possible to use __is_defined() to test if the > preprocessor define exists. > >

[PATCH 1/4] mm: make the __PAGETABLE_PxD_FOLDED defines non-empty

2018-10-31 Thread Martin Schwidefsky
Change the currently empty defines for __PAGETABLE_PMD_FOLDED, __PAGETABLE_PUD_FOLDED and __PAGETABLE_P4D_FOLDED to return 1. This makes it possible to use __is_defined() to test if the preprocessor define exists. Signed-off-by: Martin Schwidefsky --- arch/arm/include/asm/pgtable-2level.h|

[PATCH 1/4] mm: make the __PAGETABLE_PxD_FOLDED defines non-empty

2018-10-31 Thread Martin Schwidefsky
Change the currently empty defines for __PAGETABLE_PMD_FOLDED, __PAGETABLE_PUD_FOLDED and __PAGETABLE_P4D_FOLDED to return 1. This makes it possible to use __is_defined() to test if the preprocessor define exists. Signed-off-by: Martin Schwidefsky --- arch/arm/include/asm/pgtable-2level.h|