parisc: Replace PT_NLEVELS with CONFIG_PGTABLE_LEVELS
authorGuenter Roeck <linux@roeck-us.net>
Wed, 15 Apr 2015 20:34:28 +0000 (13:34 -0700)
committerHelge Deller <deller@gmx.de>
Tue, 21 Apr 2015 20:04:03 +0000 (22:04 +0200)
commitc19edb6946d250db6d4a3dbd6146f7b23bf3468b
tree80667bd0549154d1817021bd46a878ff954822d6
parent8bf8a1d1c13c687eda599c827d713eb70764a79f
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 <kirill.shutemov@linux.intel.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/pgalloc.h