original_kernel/arch/powerpc/mm
David Gibson 6aa3e1e944 [POWERPC] Fix bogus BUG_ON() in in hugetlb_get_unmapped_area()
The powerpc specific version of hugetlb_get_unmapped_area() makes some
unwarranted assumptions about what checks have been made to its
parameters by its callers.  This will lead to a BUG_ON() if a 32-bit
process attempts to make a hugepage mapping which extends above
TASK_SIZE (4GB).

I'm not sure if these assumptions came about because they were valid
with earlier versions of the get_unmapped_area() path, or if it was
always broken.  Nonetheless this patch fixes the logic, and removes
the crash.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-01-09 17:03:01 +11:00
..
4xx_mmu.c
44x_mmu.c
Makefile [POWERPC] ps3: multiplatform build fixes 2006-12-04 20:41:16 +11:00
fault.c
fsl_booke_mmu.c
hash_low_32.S
hash_low_64.S
hash_native_64.c
hash_utils_64.c [POWERPC] Fix cputable.h for combined build 2006-12-04 20:41:59 +11:00
hugetlbpage.c [POWERPC] Fix bogus BUG_ON() in in hugetlb_get_unmapped_area() 2007-01-09 17:03:01 +11:00
imalloc.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
init_32.c
init_64.c [PATCH] slab: remove kmem_cache_t 2006-12-07 08:39:25 -08:00
lmb.c
mem.c
mmap.c
mmu_context_32.c
mmu_context_64.c
mmu_decl.h
numa.c [POWERPC] Support ibm,dynamic-reconfiguration-memory nodes 2006-12-11 13:49:49 +11:00
pgtable_32.c [POWERPC] Merge 32 and 64 bits asm-powerpc/io.h 2006-12-04 20:39:05 +11:00
pgtable_64.c [POWERPC] Merge 32 and 64 bits asm-powerpc/io.h 2006-12-04 20:39:05 +11:00
ppc_mmu_32.c
slb.c [POWERPC] iSeries: fix slb.c for combined build 2006-12-04 20:39:19 +11:00
slb_low.S
stab.c
tlb_32.c
tlb_64.c