[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200802111049.05478.ossthema@de.ibm.com>
Date: Mon, 11 Feb 2008 10:49:04 +0100
From: Jan-Bernd Themann <ossthema@...ibm.com>
To: Greg KH <greg@...ah.com>
Cc: "Jan-Bernd Themann" <themann@...ibm.com>,
Thomas Klein <osstklei@...ibm.com>,
netdev <netdev@...r.kernel.org>,
"linux-kernel" <linux-kernel@...r.kernel.org>,
"linux-ppc" <linuxppc-dev@...abs.org>,
Christoph Raisch <raisch@...ibm.com>
Subject: [PATCH][RESEND] drivers/base: export (un)register_memory_notifier
Drivers like eHEA need memory notifiers in order to
update their internal DMA memory map when memory is added
to or removed from the system.
Signed-off-by: Jan-Bernd Themann <themann@...ibm.com>
---
Hi Greg,
are you the right person to address this patch to?
Regards,
Jan-Bernd
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 7ae413f..1e1bd4c 100644
--- a/drivers/base/memory.c
+++ b/drivers/base/memory.c
@@ -52,11 +52,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.2
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists