git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
kernel.org linux-2.6.9
[linux-2.6.git]
/
include
/
linux
/
cpu.h
diff --git
a/include/linux/cpu.h
b/include/linux/cpu.h
index
5925e83
..
7130cef
100644
(file)
--- a/
include/linux/cpu.h
+++ b/
include/linux/cpu.h
@@
-74,7
+74,7
@@
int cpu_down(unsigned int cpu);
#define hotcpu_notifier(fn, pri)
/* CPUs don't go offline once they're online w/o CONFIG_HOTPLUG_CPU */
-#define cpu_is_offline(cpu) 0
+static inline int cpu_is_offline(int cpu) { return 0; }
#endif
#endif /* _LINUX_CPU_H_ */