From: Hannes Hering Date: Wed, 7 May 2008 12:43:01 +0000 (+0200) Subject: memory: Introduce exports for memory notifiers X-Git-Tag: v2.6.26-rc3~65^2~9^2~16 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c82c30cd5963a4523a6ec5f32fc2d20a5bb672a;p=linux-2.6 memory: Introduce exports for memory notifiers This patch introduces two exports to allow modules to use memory notifiers. Signed-off-by: Hannes Hering Signed-off-by: Jeff Garzik --- diff --git a/drivers/base/memory.c b/drivers/base/memory.c index 8ce6de5a7e..937e825898 100644 --- a/drivers/base/memory.c +++ b/drivers/base/memory.c @@ -53,11 +53,13 @@ int register_memory_notifier(struct notifier_block *nb) { return blocking_notifier_chain_register(&memory_chain, nb); } +EXPORT_SYMBOL(register_memory_notifier); void unregister_memory_notifier(struct notifier_block *nb) { blocking_notifier_chain_unregister(&memory_chain, nb); } +EXPORT_SYMBOL(unregister_memory_notifier); /* * register_memory - Setup a sysfs device for a memory block