summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/traps.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2015-11-20 17:46:52 +0300
committerHelge Deller <deller@gmx.de>2015-11-22 14:22:34 +0300
commit1f25ad26d65b3740f44d6e03edcd34a5f7b58850 (patch)
treec5374c281e953446667d8788976b180be97e1b98 /arch/parisc/kernel/traps.c
parentdcbf0d299c00ed4f82ea8d6e359ad88a5182f9b8 (diff)
downloadlinux-1f25ad26d65b3740f44d6e03edcd34a5f7b58850.tar.xz
parisc: Add defines for Huge page support
Huge pages on parisc will have the same size as one pmd table, which is on a 64bit kernel 2MB on a kernel with 4K kernel page sizes, and on a 32bit kernel 4MB when used with 4K kernel pages. Since parisc does not physically supports 2MB huge page sizes, emulate it with two consecutive 1MB page sizes instead. Keeping the same huge page size as one pmd will allow us to add transparent huge page support later on. Bit 21 in the pte flags was unused and will now be used to mark a page as huge page (_PAGE_HPAGE_BIT). Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/traps.c')
0 files changed, 0 insertions, 0 deletions