From d3d30094bb95c00eab35c8e8ad12b4d117164936 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sat, 1 Jul 2006 04:36:30 -0700 Subject: [PATCH] --- yaml --- r: 31581 b: refs/heads/master c: e2c2770096b686b4d2456173f53cb50e01aa635c h: refs/heads/master i: 31579: c69cfada39ae14ca053857d253e5dfa3262fd258 v: v3 --- [refs] | 2 +- trunk/include/linux/cpu.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 9d75475c70b8..57bc69f1dc1d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1add6781c85d7e2ee512315113a16193b3e3937d +refs/heads/master: e2c2770096b686b4d2456173f53cb50e01aa635c diff --git a/trunk/include/linux/cpu.h b/trunk/include/linux/cpu.h index a3caf6866bae..44a11f1ccaf2 100644 --- a/trunk/include/linux/cpu.h +++ b/trunk/include/linux/cpu.h @@ -87,9 +87,9 @@ int cpu_down(unsigned int cpu); #define lock_cpu_hotplug() do { } while (0) #define unlock_cpu_hotplug() do { } while (0) #define lock_cpu_hotplug_interruptible() 0 -#define hotcpu_notifier(fn, pri) -#define register_hotcpu_notifier(nb) -#define unregister_hotcpu_notifier(nb) +#define hotcpu_notifier(fn, pri) do { } while (0) +#define register_hotcpu_notifier(nb) do { } while (0) +#define unregister_hotcpu_notifier(nb) do { } while (0) /* CPUs don't go offline once they're online w/o CONFIG_HOTPLUG_CPU */ static inline int cpu_is_offline(int cpu) { return 0; }