git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2e2400
)
Avoid warning when CPU hotplug isn't enabled
author
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 27 May 2010 17:32:08 +0000
(10:32 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 27 May 2010 17:32:08 +0000
(10:32 -0700)
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>
No differences found