diff options
author | Helge Deller <deller@gmx.de> | 2015-11-20 15:46:52 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2015-11-22 12:22:34 +0100 |
commit | 1f25ad26d65b3740f44d6e03edcd34a5f7b58850 (patch) | |
tree | c5374c281e953446667d8788976b180be97e1b98 /arch/parisc/kernel/setup.c | |
parent | dcbf0d299c00ed4f82ea8d6e359ad88a5182f9b8 (diff) |
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/setup.c')
0 files changed, 0 insertions, 0 deletions