From: Guenter Roeck Date: Wed, 15 Apr 2015 20:34:28 +0000 (-0700) Subject: parisc: Replace PT_NLEVELS with CONFIG_PGTABLE_LEVELS X-Git-Tag: submit/tizen/20160607.132125~2587^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c19edb6946d250db6d4a3dbd6146f7b23bf3468b;p=sdk%2Femulator%2Femulator-kernel.git parisc: Replace PT_NLEVELS with CONFIG_PGTABLE_LEVELS 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 Acked-by: Kirill A. Shutemov Signed-off-by: Helge Deller --- diff --git a/arch/parisc/include/asm/pgalloc.h b/arch/parisc/include/asm/pgalloc.h index 1ba2936..3a08eae 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<