[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080414141956.GN6695@cs181133002.pp.htv.fi>
Date: Mon, 14 Apr 2008 17:19:56 +0300
From: Adrian Bunk <bunk@...nel.org>
To: Mark Salyzyn <aacraid@...ptec.com>,
James Bottomley <James.Bottomley@...senPartnership.com>,
wli@...omorphy.com
Cc: sparclinux@...r.kernel.org, linux-scsi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [2.6 patch] sparc: export kmap_atomic_to_page
This patch fixes the following build error exposed by commit
3a0086a80ab7c2f1adb0e9b2a6fc82632979cec5:
<-- snip -->
MODPOST 1741 modules
ERROR: "kmap_atomic_to_page" [drivers/scsi/aacraid/aacraid.ko] undefined!
...
make[2]: *** [__modpost] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@...nel.org>
---
arch/sparc/mm/highmem.c | 2 ++
1 file changed, 2 insertions(+)
e0d104bd0a5560ef4c836af8eb1ddd70dfb01db5 diff --git a/arch/sparc/mm/highmem.c b/arch/sparc/mm/highmem.c
index 01fc6c2..145ac7f 100644
--- a/arch/sparc/mm/highmem.c
+++ b/arch/sparc/mm/highmem.c
@@ -24,6 +24,7 @@
*/
#include <linux/mm.h>
#include <linux/highmem.h>
+#include <linux/module.h>
#include <asm/pgalloc.h>
#include <asm/cacheflush.h>
#include <asm/tlbflush.h>
@@ -116,3 +117,4 @@ struct page *kmap_atomic_to_page(void *ptr)
pte = kmap_pte - (idx - FIX_KMAP_BEGIN);
return pte_page(*pte);
}
+EXPORT_SYMBOL_GPL(kmap_atomic_to_page);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists