From: Ilya Yanok Date: Thu, 11 Dec 2008 01:55:41 +0000 (+0300) Subject: powerpc/44x: Support 16K/64K base page sizes on 44x X-Git-Tag: v2.6.29-rc1~574^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca9153a3a2a7556d091dfe080e42b0e67881fff6;p=pandora-kernel.git powerpc/44x: Support 16K/64K base page sizes on 44x This adds support for 16k and 64k page sizes on PowerPC 44x processors. The PGDIR table is much smaller than a page when using 16k or 64k pages (512 and 32 bytes respectively) so we allocate the PGDIR with kzalloc() instead of __get_free_pages(). One PTE table covers rather a large memory area when using 16k or 64k pages (32MB or 512MB respectively), so we can easily put FIXMAP and PKMAP in the area covered by one PTE table. Signed-off-by: Yuri Tikhonov Signed-off-by: Vladimir Panfilov Signed-off-by: Ilya Yanok Acked-by: Josh Boyer Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed