diff options
author | Heiko Schocher <hs@denx.de> | 2009-09-24 02:45:14 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-10-14 16:58:40 +1100 |
commit | 0f6023d5997bf1b5eeae39de42a7e1e26dbe6a90 (patch) | |
tree | 86765c49245d3d876888cedf83a68df5da7d8ccf /security/keys/keyctl.c | |
parent | powerpc/oprofile: Add ppc750 CL as supported by oprofile (diff) | |
download | linux-dev-0f6023d5997bf1b5eeae39de42a7e1e26dbe6a90.tar.xz linux-dev-0f6023d5997bf1b5eeae39de42a7e1e26dbe6a90.zip |
powerpc/pci: Fix MODPOST warning
making a powerpc target with PCI support, shows the
following warning:
MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x10430): Section mismatch in reference from the
function pcibios_allocate_bus_resources() to the function .init.text:reparent_resources()
The function pcibios_allocate_bus_resources() references
the function __init reparent_resources().
This is often because pcibios_allocate_bus_resources lacks a __init
annotation or the annotation of reparent_resources is wrong.
This patch fix this warning by removing the __init
annotation before reparent_resources.
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions