[patch] KVM, hotplug: export register_cpu_notifier
- From: Ingo Molnar <mingo@xxxxxxx>
- Date: Wed, 7 Feb 2007 09:16:33 +0100
Subject: [patch] KVM, hotplug: export register_cpu_notifier
From: Ingo Molnar <mingo@xxxxxxx>
KVM-trunk uses register_cpu_notifier() but it's a module and we only
export this if CONFIG_HOTPLUG_CPU. Export it otherwise too.
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
kernel/cpu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux/kernel/cpu.c
===================================================================
--- linux.orig/kernel/cpu.c
+++ linux/kernel/cpu.c
@@ -75,10 +75,10 @@ int __cpuinit register_cpu_notifier(stru
return ret;
}
-#ifdef CONFIG_HOTPLUG_CPU
-
EXPORT_SYMBOL(register_cpu_notifier);
+#ifdef CONFIG_HOTPLUG_CPU
+
void unregister_cpu_notifier(struct notifier_block *nb)
{
mutex_lock(&cpu_add_remove_lock);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch] KVM, hotplug: export register_cpu_notifier
- From: Avi Kivity
- Re: [patch] KVM, hotplug: export register_cpu_notifier
- Prev by Date: Re: [2.6.20][PATCH] fix mempolicy error check on a system with memory-less-node
- Next by Date: Re: [patch 1/3 take2] smaps: extract pte walker from smaps code
- Previous by thread: # Money
- Next by thread: Re: [patch] KVM, hotplug: export register_cpu_notifier
- Index(es):
Relevant Pages
|
|