[POWERPC] Limit range of __init_ref_ok somewhat
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Oct 2007 03:37:53 +0000 (13:37 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Oct 2007 01:48:44 +0000 (11:48 +1000)
commit5669c3cf19fbadaa9120b59914beec8431277efe
tree463ead47019486cdbde965ce1ef17045b32ca73f
parent88de3cab98ff6c794b840969427e61605d0cc1ea
[POWERPC] Limit range of __init_ref_ok somewhat

This patch introduces zalloc_maybe_bootmem and uses it so that we don't
have to mark a whole (largish) routine as __init_ref_ok.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/irq.c
arch/powerpc/lib/alloc.c
include/asm-powerpc/system.h