aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/qe_lib/gpio.c
diff options
context:
space:
mode:
authorIlya Yanok <[email protected]>2008-12-11 01:55:41 +0000
committerPaul Mackerras <[email protected]>2008-12-28 22:53:25 +0000
commitca9153a3a2a7556d091dfe080e42b0e67881fff6 (patch)
tree35b5ce24f190690cf7a726cbb97980da51704855 /arch/powerpc/sysdev/qe_lib/gpio.c
parentpowerpc: Force memory size to be a multiple of PAGE_SIZE (diff)
downloadkernel-ca9153a3a2a7556d091dfe080e42b0e67881fff6.tar.gz
kernel-ca9153a3a2a7556d091dfe080e42b0e67881fff6.zip
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 <[email protected]> Signed-off-by: Vladimir Panfilov <[email protected]> Signed-off-by: Ilya Yanok <[email protected]> Acked-by: Josh Boyer <[email protected]> Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/qe_lib/gpio.c')
0 files changed, 0 insertions, 0 deletions