diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 19:32:08 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 19:32:08 +0200 |
commit | 00b9b0af5887fed54e899e3b7f5c2ccf5e739def (patch) | |
tree | 088cd96759cf4c1b2365c0e434dc95a8410b547c /mm/filemap.c | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6 (diff) | |
download | linux-00b9b0af5887fed54e899e3b7f5c2ccf5e739def.tar.xz linux-00b9b0af5887fed54e899e3b7f5c2ccf5e739def.zip |
Avoid warning when CPU hotplug isn't enabled
Commit e9fb7631ebcd ("cpu-hotplug: introduce cpu_notify(),
__cpu_notify(), cpu_notify_nofail()") also introduced this annoying
warning:
kernel/cpu.c:157: warning: 'cpu_notify_nofail' defined but not used
when CONFIG_HOTPLUG_CPU wasn't set.
So move that helper inside the #ifdef CONFIG_HOTPLUG_CPU region, and
simplify it while at it.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions