From: Guenter Roeck Subject: [PATCH] parisc: Replace PT_NLEVELS with CONFIG_PGTABLE_LEVELS Date: Wed, 15 Apr 2015 13:34:28 -0700 Message-ID: <1429130068-18096-1-git-send-email-linux@roeck-us.net> Cc: Andrew Morton , linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org, Guenter Roeck , "Kirill A. Shutemov" To: "James E.J. Bottomley" Return-path: List-ID: List-Id: linux-parisc.vger.kernel.org The following warning is seen when compiling parisc images ./arch/parisc/include/asm/pgalloc.h: In function 'pgd_alloc': ./arch/parisc/include/asm/pgalloc.h:29:5: warning: "PT_NLEVELS" is not defined Some definitions of PT_NLEVELS were missed with the conversion to CONFIG_PGTABLE_LEVELS. Fixes: f24ffde43237 ("parisc: expose number of page table levels on Kconfig level") Cc: Kirill A. Shutemov Signed-off-by: Guenter Roeck --- arch/parisc/include/asm/pgalloc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/parisc/include/asm/pgalloc.h b/arch/parisc/include/asm/pgalloc.h index 1ba29369257c..3a08eae3318f 100644 --- a/arch/parisc/include/asm/pgalloc.h +++ b/arch/parisc/include/asm/pgalloc.h @@ -26,7 +26,7 @@ static inline pgd_t *pgd_alloc(struct mm_struct *mm) if (likely(pgd != NULL)) { memset(pgd, 0, PAGE_SIZE<