]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Fix pmd code to depend on PT_NLEVELS value, not on CONFIG_64BIT
authorHelge Deller <deller@gmx.de>
Mon, 16 Mar 2015 20:17:50 +0000 (21:17 +0100)
committerHelge Deller <deller@gmx.de>
Mon, 23 Mar 2015 11:28:16 +0000 (12:28 +0100)
commit3ec4284b914ae8389d3191062c1c11ee5e8bf534
tree7a8ae5f7f011a24e2b818afa2a1331e602f3186f
parent47ed954900cca6220d0f58f220045e0765111af8
parisc: Fix pmd code to depend on PT_NLEVELS value, not on CONFIG_64BIT

Make the code which sets up the pmd depend on PT_NLEVELS == 3, not on
CONFIG_64BIT. The reason is, that a 64bit kernel with a page size
greater than 4k doesn't need the pmd and thus has PT_NLEVELS = 2.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/include/asm/pgalloc.h