diff options
author | Hannes Hering <hannes.hering@linux.vnet.ibm.com> | 2008-05-07 12:43:01 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-13 05:31:38 (GMT) |
commit | 3c82c30cd5963a4523a6ec5f32fc2d20a5bb672a (patch) | |
tree | 258d92a11abe73596891427e385fc02e3fe3efc3 /drivers/base | |
parent | ad5da7ab7be0a510ae69d533edf573d1ca6eec4b (diff) | |
download | linux-fsl-qoriq-3c82c30cd5963a4523a6ec5f32fc2d20a5bb672a.tar.xz |
memory: Introduce exports for memory notifiers
This patch introduces two exports to allow modules to use memory notifiers.
Signed-off-by: Hannes Hering <hering2@de.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/memory.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/memory.c b/drivers/base/memory.c index 8ce6de5..937e825 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 |