]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Fix section mismatch in PCI code
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 17 Sep 2007 04:08:06 +0000 (14:08 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 19 Sep 2007 05:25:34 +0000 (15:25 +1000)
commit7b2c3c5b1d6dd77d7bb5a7d57ab7280e051c59bc
tree30fc4b8515f3838973386697e55647079a6921fa
parentee983079ce04641523b23b8ed02cc3503632351e
[POWERPC] Fix section mismatch in PCI code

Create a helper function (alloc_maybe_bootmem) that is marked __init_refok
to limit the chances of mistakenly referring to other __init routines.

WARNING: vmlinux.o(.text+0x2a9c4): Section mismatch: reference to .init.text:.__alloc_bootmem (between '.update_dn_pci_info' and '.pci_dn_reconfig_notifier')
WARNING: vmlinux.o(.text+0x36430): Section mismatch: reference to .init.text:.__alloc_bootmem (between '.mpic_msi_init_allocator' and '.find_ht_magic_addr')
WARNING: vmlinux.o(.text+0x5e804): Section mismatch: reference to .init.text:.__alloc_bootmem (between '.celleb_setup_phb' and '.celleb_fake_pci_write_config')
WARNING: vmlinux.o(.text+0x5e8e8): Section mismatch: reference to .init.text:.__alloc_bootmem (between '.celleb_setup_phb' and '.celleb_fake_pci_write_config')
WARNING: vmlinux.o(.text+0x5e968): Section mismatch: reference to .init.text:.__alloc_bootmem (between '.celleb_setup_phb' and '.celleb_fake_pci_write_config')

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/pci_dn.c
arch/powerpc/lib/Makefile
arch/powerpc/lib/alloc.c [new file with mode: 0644]
arch/powerpc/platforms/celleb/pci.c
arch/powerpc/sysdev/mpic_msi.c
include/asm-powerpc/system.h