summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMatt Fleming <matt@console-pimps.org>2009-12-24 20:38:45 +0000
committerMatt Fleming <matt@console-pimps.org>2010-01-02 00:51:45 +0000
commit3f5ab768164df9a44721660b96e0accb92eb2c24 (patch)
treeef4fb658cd28994fad4046844bc51a388bb6447b /Makefile
parente591a517230a97e93f5edd19e7bef7ec8d22ac2b (diff)
downloadop-kernel-dev-3f5ab768164df9a44721660b96e0accb92eb2c24.zip
op-kernel-dev-3f5ab768164df9a44721660b96e0accb92eb2c24.tar.gz
sh: Correct the PTRS_PER_PMD and PMD_SHIFT values
The previous expressions were wrong which made free_pmd_range() explode when using anything other than 4KB pages (which is why 8KB and 64KB pages were disabled with the 3-level page table layout). The problem was that pmd_offset() was returning an index of non-zero when it should have been returning 0. This non-zero offset was used to calculate the address of the pmd table to free in free_pmd_range(), which ended up trying to free an object that was not aligned on a page boundary. Now 3-level page tables should work with 4KB, 8KB and 64KB pages. Signed-off-by: Matt Fleming <matt@console-pimps.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud