aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/flat.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2007-10-29 12:05:18 +1100
committerPaul Mackerras <paulus@samba.org>2007-10-29 14:34:14 +1100
commitf6ab0b922c3423b88c0e6e3e2c5fc1e58d83055d (patch)
treefd1eedbaed6a5d837f319a6ba9010fbba80560da /include/asm-arm/flat.h
parent2a397e82c7db18019e408f953dd58dc1963a328c (diff)
[POWERPC] powerpc: Fix demotion of segments to 4K pages
When demoting a process to use 4K HW pages (instead of 64K), which happens under various circumstances such as doing cache inhibited mappings on machines that do not support 64K CI pages, the assembly hash code calls back into the C function flush_hash_page(). This function prototype was recently changed to accomodate for 1T segments but the assembly call site was not updated, causing applications that do demotion to hang. In addition, when updating the per-CPU PACA for the new sizes, we didn't properly update the slice "map", thus causing the SLB miss code to re-insert segments for the wrong size. This fixes both and adds a warning comment next to the C implementation to try to avoid problems next time someone changes it. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-arm/flat.h')
0 files changed, 0 insertions, 0 deletions