* [PATCH 1/3] [2.6.26] memory: Introduce exports for memory notifiers
@ 2008-05-07 12:43 Hannes Hering
2008-05-13 5:16 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Hannes Hering @ 2008-05-07 12:43 UTC (permalink / raw)
To: jeff
Cc: tklein, themann, netdev, linux-kernel, raisch, ossrosch,
linuxppc-dev, ossthema
This patch introduces two exports to allow modules to use memory notifiers.
Signed-off-by: Hannes Hering <hering2@de.ibm.com>
---
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
--
1.5.5.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/3] [2.6.26] memory: Introduce exports for memory notifiers
2008-05-07 12:43 [PATCH 1/3] [2.6.26] memory: Introduce exports for memory notifiers Hannes Hering
@ 2008-05-13 5:16 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2008-05-13 5:16 UTC (permalink / raw)
To: Hannes Hering
Cc: tklein, themann, netdev, linux-kernel, raisch, ossrosch,
linuxppc-dev, ossthema
Hannes Hering wrote:
> This patch introduces two exports to allow modules to use memory notifiers.
>
> Signed-off-by: Hannes Hering <hering2@de.ibm.com>
> ---
>
> 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);
applied 1-3
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-13 5:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-07 12:43 [PATCH 1/3] [2.6.26] memory: Introduce exports for memory notifiers Hannes Hering
2008-05-13 5:16 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).