aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/pci-common.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2013-03-25 18:44:44 +0000
committerMichael Ellerman <michael@ellerman.id.au>2013-04-18 15:59:56 +1000
commit55671f3cc29c31681278b7782de4f6a4edb97a7e (patch)
treec48f2050f3a2dc019ef8dfc1836369c827d29f29 /arch/powerpc/kernel/pci-common.c
parent7122beeee7bc1757682049780179d7c216dd1c83 (diff)
powerpc: fix annotation of fake_numa_create_new_node()
This function has always been marked as __cpuinit, but is only called from functions marked as __init and references an __initdata variable. So change its annotation to __init. Fixes this build warning: WARNING: arch/powerpc/mm/built-in.o(.cpuinit.text+0x86): Section mismatch in reference from the function .fake_numa_create_new_node() to the variable .init.data:cmdline The function __cpuinit .fake_numa_create_new_node() references a variable __initdata cmdline. If cmdline is only used by .fake_numa_create_new_node then annotate cmdline with a matching annotation. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/pci-common.c')
0 files changed, 0 insertions, 0 deletions