Files
kernel/include/linux
Satyam Sharma 761bb43190 Redefine {un}register_hotcpu_notifier() !HOTPLUG_CPU stubs
The return of the present "do {} while" based stub definition of
register_hotcpu_notifier() cannot be checked.  This makes the stub
asymmetric w.r.t.  the real HOTPLUG_CPU=y implementation that is
int-returning.  So let us redefine this to be consistent with the full
version.  Also do the same for unregister_hotcpu_notifier().

We cannot define these as static inline functions due to an existing GCC
bug (#33172).  So define as macros that return appropriately instead (int
'0' for the register_hotcpu_notifier case and void for
unregister_hotcpu_notifier).

Signed-off-by: Satyam Sharma <satyam@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-18 14:37:28 -07:00
..
2007-10-17 22:51:13 +02:00
2007-10-17 08:43:03 -07:00
2007-10-18 14:37:20 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:43:07 -07:00
2007-10-17 08:42:52 -07:00
2007-10-18 14:37:21 -07:00
2007-10-17 08:42:51 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:43:02 -07:00
2007-10-17 08:42:48 -07:00
2007-10-17 08:43:01 -07:00
2007-10-17 08:43:07 -07:00
2007-10-17 08:42:52 -07:00
2007-10-17 08:42:59 -07:00
2007-10-17 08:42:55 -07:00
2007-10-17 08:42:52 -07:00
2007-10-17 08:42:52 -07:00
2007-10-17 08:42:52 -07:00
2007-10-17 08:43:01 -07:00
2007-10-17 08:42:57 -07:00
2007-10-17 08:42:55 -07:00
2007-10-17 08:42:50 -07:00
2007-10-17 08:42:58 -07:00
2007-10-17 08:42:59 -07:00
2007-10-18 14:37:23 -07:00
2007-10-17 08:42:44 -07:00
2007-10-17 08:43:04 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:56 -07:00
2007-10-17 08:42:46 -07:00
2007-10-17 08:42:47 -07:00
2007-10-17 08:43:01 -07:00
2007-10-18 14:37:23 -07:00
2007-10-17 08:42:53 -07:00
2007-10-17 08:42:56 -07:00
2007-10-17 08:43:02 -07:00