linux/arch/powerpc/mm
Michael Ellerman d7a5b2ffa1 [PATCH] powerpc: Always panic if lmb_alloc() fails
Currently most callers of lmb_alloc() don't check if it worked or not, if it
ever does weird bad things will probably happen. The few callers who do check
just panic or BUG_ON.

So make lmb_alloc() panic internally, to catch bugs at the source. The few
callers who did check the result no longer need to.

The only caller that did anything interesting with the return result was
careful_allocation(). For it we create __lmb_alloc_base() which _doesn't_ panic
automatically, a little messy, but passable.

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2006-02-07 22:38:34 +11:00
..
4xx_mmu.c
44x_mmu.c
Makefile
fault.c [PATCH] powerpc: DABR exceptions should report the address not the PC 2006-01-09 16:03:33 +11:00
fsl_booke_mmu.c
hash_low_32.S
hash_low_64.S
hash_native_64.c
hash_utils_64.c [PATCH] powerpc: Always panic if lmb_alloc() fails 2006-02-07 22:38:34 +11:00
hugetlbpage.c
imalloc.c
init_32.c
init_64.c
lmb.c [PATCH] powerpc: Always panic if lmb_alloc() fails 2006-02-07 22:38:34 +11:00
mem.c [PATCH] powerpc: Always panic if lmb_alloc() fails 2006-02-07 22:38:34 +11:00
mmap.c
mmu_context_32.c
mmu_context_64.c
mmu_decl.h
numa.c [PATCH] powerpc: Always panic if lmb_alloc() fails 2006-02-07 22:38:34 +11:00
pgtable_32.c
pgtable_64.c [PATCH] powerpc: IOMMU: don't ioremap null addresses 2006-01-10 15:30:31 +11:00
ppc_mmu_32.c
slb.c
slb_low.S
stab.c [PATCH] powerpc: Always panic if lmb_alloc() fails 2006-02-07 22:38:34 +11:00
tlb_32.c
tlb_64.c