]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Use alloc_maybe_bootmem() in pcibios_alloc_controller
authorLinas Vepstas <linas@austin.ibm.com>
Tue, 2 Oct 2007 21:40:12 +0000 (07:40 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Oct 2007 05:31:35 +0000 (15:31 +1000)
commit2d5f5659649924b86d527a2af2552bab741d1d6f
tree7f6643e061f2f83f7eda1fad983fff4f27322d2f
parentda0bd34e03b48f366a29e0ecdb24f8a0fe856d40
[POWERPC] Use alloc_maybe_bootmem() in pcibios_alloc_controller

Use alloc_maybe_bootmem() which wraps the if (mem_init_done)
malloc clause.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/pci-common.c