All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] sparc: export kmap_atomic_to_page
@ 2008-04-14 14:19 ` Adrian Bunk
  0 siblings, 0 replies; 12+ messages in thread
From: Adrian Bunk @ 2008-04-14 14:19 UTC (permalink / raw)
  To: Mark Salyzyn, James Bottomley, wli; +Cc: sparclinux, linux-scsi, linux-kernel

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@kernel.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);


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-04-20 23:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-14 14:19 [2.6 patch] sparc: export kmap_atomic_to_page Adrian Bunk
2008-04-14 14:19 ` Adrian Bunk
2008-04-15  7:39 ` David Miller
2008-04-15  7:39   ` David Miller
2008-04-20 20:14   ` Adrian Bunk
2008-04-20 20:14     ` Adrian Bunk
2008-04-20 20:28     ` David Miller
2008-04-20 20:28       ` David Miller
2008-04-20 23:40       ` Matthew Wilcox
2008-04-20 23:40         ` Matthew Wilcox
2008-04-20 23:55         ` Adrian Bunk
2008-04-20 23:55           ` Adrian Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.