From: Peter Watkins Date: Wed, 23 Aug 2006 15:15:49 +0000 (-0400) Subject: [MIPS] Fix USER_PTRS_PER_PGD for 64K page size. X-Git-Tag: v2.6.19-rc1~1023 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dbd7b9142e95867ee8a56da5d45c72884c107d3;p=pandora-kernel.git [MIPS] Fix USER_PTRS_PER_PGD for 64K page size. The code in pgtable-64.h assumes TASK_SIZE is always bigger than a first level PGDIR_SIZE. This is not the case for 64K pages, where task size is 40 bits (1TB) and a pgd entry can map 42 bits. This leads to USER_PTRS_PER_PGD being zero for 64K pages. Signed-off-by: Peter Watkins Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed