linux-stable-rt/arch/powerpc/kernel
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
..
vdso32
vdso64
Makefile powerpc/32: Restore previous version of 32-bit PCI code 2006-01-15 22:05:47 +11:00
align.c
asm-offsets.c [PATCH] powerpc: Remove lppaca structure from the PACA 2006-01-13 21:17:39 +11:00
binfmt_elf32.c
btext.c
cpu_setup_power4.S [PATCH] powerpc: Cleanup LOADADDR etc. asm macros 2006-01-13 21:16:23 +11:00
cputable.c [PATCH] powerpc: Add Virtex-4 FX to cpu table 2006-02-07 22:36:00 +11:00
crash.c [PATCH] powerpc: Fix kdump copy regs and dynamic allocate per-cpu crash notes 2006-01-15 13:14:42 +11:00
crash_dump.c
dma_64.c
entry_32.S [PATCH] TIF_RESTORE_SIGMASK support for arch/powerpc 2006-01-18 19:20:30 -08:00
entry_64.S [PATCH] TIF_RESTORE_SIGMASK support for arch/powerpc 2006-01-18 19:20:30 -08:00
firmware.c
fpu.S powerpc/64: Fix bug in setting floating-point exception mode 2006-02-07 13:55:30 +11:00
head_4xx.S
head_8xx.S
head_32.S
head_44x.S
head_64.S [PATCH] powerpc: Don't use toc in decrementer_iSeries_masked 2006-02-07 21:51:53 +11:00
head_fsl_booke.S
ibmebus.c
idle_6xx.S
idle_64.c
idle_power4.S [PATCH] powerpc: Cleanup LOADADDR etc. asm macros 2006-01-13 21:16:23 +11:00
init_task.c
iomap.c
iommu.c [PATCH] powerpc: IOMMU SG paranoia 2006-02-07 21:28:38 +11:00
irq.c [PATCH] powerpc: Remove lppaca structure from the PACA 2006-01-13 21:17:39 +11:00
kprobes.c
legacy_serial.c [PATCH] CONFIG_ISA does not make sense for CONFIG_PPC_PSERIES 2006-02-01 08:53:08 -08:00
lparcfg.c [PATCH] powerpc: Remove lppaca structure from the PACA 2006-01-13 21:17:39 +11:00
lparmap.c
machine_kexec.c
machine_kexec_32.c
machine_kexec_64.c
misc_32.S [PATCH] powerpc: Cleanup LOADADDR etc. asm macros 2006-01-13 21:16:23 +11:00
misc_64.S [PATCH] powerpc: Cleanup LOADADDR etc. asm macros 2006-01-13 21:16:23 +11:00
module_64.c
nvram_64.c
of_device.c [PATCH] Add of_platform_bus_type probe and remove methods 2006-01-13 11:26:06 -08:00
paca.c [PATCH] powerpc: Remove lppaca structure from the PACA 2006-01-13 21:17:39 +11:00
pci_32.c powerpc/32: Restore previous version of 32-bit PCI code 2006-01-15 22:05:47 +11:00
pci_64.c
pci_direct_iommu.c
pci_dn.c
pci_iommu.c
pmc.c
ppc32.h
ppc_ksyms.c [PATCH] powerpc: cleanup pmac_newworld variable usage 2006-02-07 22:36:37 +11:00
proc_ppc64.c
process.c
prom.c [PATCH] powerpc: Always panic if lmb_alloc() fails 2006-02-07 22:38:34 +11:00
prom_init.c [PATCH] powerpc: Refuse to boot a kdump kernel via OF 2006-02-07 21:28:38 +11:00
prom_parse.c [PATCH] powerpc: add refcounting to setup_peg2 and of_get_pci_address 2006-02-07 21:32:45 +11:00
ptrace-common.h
ptrace.c
ptrace32.c
rtas-proc.c
rtas-rtc.c
rtas.c [PATCH] powerpc: remove useless call to touch_softlockup_watchdog 2006-02-07 21:32:44 +11:00
rtas_flash.c [PATCH] Don't check pointer for NULL before passing it to kfree [arch/powerpc/kernel/rtas_flash.c] 2006-02-07 21:51:53 +11:00
rtas_pci.c
semaphore.c
setup-common.c [PATCH] powerpc: Allow for ppc_md restart, power_off, and halt to be NULL 2006-01-14 11:12:23 +11:00
setup.h
setup_32.c
setup_64.c [PATCH] powerpc: Don't overwrite flat device tree with kdump kernel 2006-02-07 21:32:44 +11:00
signal_32.c [PATCH] powerpc: Fix sigmask handling in sys_sigsuspend. 2006-02-01 08:53:19 -08:00
signal_64.c [PATCH] TIF_RESTORE_SIGMASK support for arch/powerpc 2006-01-18 19:20:30 -08:00
smp-tbsync.c
smp.c [PATCH] powerpc: avoid timer interrupt replay effect when onlining cpu 2006-02-07 21:51:54 +11:00
sys_ppc32.c
syscalls.c
sysfs.c
systbl.S [PATCH] TIF_RESTORE_SIGMASK support for arch/powerpc 2006-01-18 19:20:30 -08:00
time.c [PATCH] powerpc: remove pointer/integer confusion in generic_calibrate_decr 2006-02-07 21:32:44 +11:00
traps.c
udbg.c
udbg_16550.c [PATCH] powerpc: fix compile warning in udbg_init_maple_realmode 2006-02-07 21:51:52 +11:00
vdso.c
vecemu.c
vector.S
vio.c [PATCH] Add vio_bus_type probe and remove methods 2006-01-13 11:26:07 -08:00
vmlinux.lds.S