android_kernel_samsung_msm8976/arch/powerpc/sysdev
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
..
dart.h [PATCH] powerpc: Experimental support for new G5 Macs (#2) 2006-01-09 15:03:17 +11:00
dart_iommu.c [PATCH] powerpc: Always panic if lmb_alloc() fails 2006-02-07 22:38:34 +11:00
dcr.S [PATCH] powerpc: Moved dcr support to arch/powerpc 2005-10-27 20:51:22 +10:00
fsl_soc.c [PATCH] powerpc: cleaned up fsl_soc.c 2006-02-07 22:38:32 +11:00
fsl_soc.h [PATCH] powerpc: Add FSL SOC library and setup code 2006-01-14 11:13:22 +11:00
grackle.c powerpc: Pull out MPC106 (grackle) initialization code into its own file 2005-10-26 17:16:38 +10:00
i8259.c [PATCH] powerpc: Fix i8259 cascade IRQ 2005-11-07 12:36:25 +11:00
indirect_pci.c powerpc: Use arch/powerpc/mm and arch/powerpc/lib for 64-bit 2005-10-10 22:25:26 +10:00
ipic.c [PATCH] powerpc: moved ipic code to arch/powerpc 2006-01-09 14:48:57 +11:00
ipic.h [PATCH] powerpc: moved ipic code to arch/powerpc 2006-01-09 14:48:57 +11:00
Makefile [PATCH] powerpc: Add FSL SOC library and setup code 2006-01-14 11:13:22 +11:00
mmio_nvram.c [PATCH] powerpc: move mmio_nvram.c over to arch/powerpc 2005-11-01 21:03:04 +11:00
mpic.c [PATCH] powerpc: Experimental support for new G5 Macs (#2) 2006-01-09 15:03:17 +11:00