Revert "cpu-hotplug: Add the function 'cpu_hotplug_inprogress'"

This reverts commit 3d321a3570.

Since sched domains are allocated dynamically now these
changes are N/A for 3.0. Hence the revert.

Change-Id: I0059a4384c871815c01455d4b6f5c8be582a5d73
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
This commit is contained in:
Michael Bohan
2011-12-19 14:57:04 -08:00
parent 140260eef1
commit c1105e186a
2 changed files with 0 additions and 9 deletions

View File

@@ -134,7 +134,6 @@ extern struct sysdev_class cpu_sysdev_class;
extern void get_online_cpus(void);
extern void put_online_cpus(void);
extern bool cpu_hotplug_inprogress(void);
#define hotcpu_notifier(fn, pri) cpu_notifier(fn, pri)
#define register_hotcpu_notifier(nb) register_cpu_notifier(nb)
#define unregister_hotcpu_notifier(nb) unregister_cpu_notifier(nb)

View File

@@ -123,14 +123,6 @@ static void cpu_hotplug_done(void)
mutex_unlock(&cpu_hotplug.lock);
}
bool cpu_hotplug_inprogress(void)
{
if (cpu_hotplug.active_writer)
return true;
return false;
}
#else /* #if CONFIG_HOTPLUG_CPU */
static void cpu_hotplug_begin(void) {}
static void cpu_hotplug_done(void) {}