diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-02-08 15:21:55 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 20:22:41 +0300 |
commit | fa7303e22c829a3364b5b7227aec9ed2d8623b2c (patch) | |
tree | 6080eeec19aa52720dd20f3237ad3ca5aef9a82a /mm | |
parent | 13d8bcd263cf96c67bd4071ad13cd056dca7b0fb (diff) | |
download | linux-fa7303e22c829a3364b5b7227aec9ed2d8623b2c.tar.xz |
cpu: fix section mismatch warnings for enable_nonboot_cpus
Fix following warning:
WARNING: o-x86_64/kernel/built-in.o(.text+0x36d8b): Section mismatch in reference from the function enable_nonboot_cpus() to the function .cpuinit.text:_cpu_up()
enable_nonboot_cpus() are used solely from CONFIG_CONFIG_PM_SLEEP_SMP=y
and PM_SLEEP_SMP imply HOTPLUG_CPU therefore the reference
to _cpu_up() is valid.
Annotate enable_nonboot_cpus() with __ref to silence modpost.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions