Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754300AbYBKJta (ORCPT ); Mon, 11 Feb 2008 04:49:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752262AbYBKJtM (ORCPT ); Mon, 11 Feb 2008 04:49:12 -0500 Received: from mtagate6.de.ibm.com ([195.212.29.155]:24404 "EHLO mtagate6.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752087AbYBKJtJ (ORCPT ); Mon, 11 Feb 2008 04:49:09 -0500 From: Jan-Bernd Themann To: Greg KH Subject: [PATCH][RESEND] drivers/base: export (un)register_memory_notifier Date: Mon, 11 Feb 2008 10:49:04 +0100 User-Agent: KMail/1.8.2 Cc: "Jan-Bernd Themann" , Thomas Klein , netdev , "linux-kernel" , "linux-ppc" , Christoph Raisch MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200802111049.05478.ossthema@de.ibm.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1206 Lines: 43 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 --- 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 linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/