patch-2.4.20 linux-2.4.20/arch/sparc/kernel/sparc_ksyms.c

Next file: linux-2.4.20/arch/sparc/kernel/sys_sunos.c
Previous file: linux-2.4.20/arch/sparc/kernel/pcic.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/arch/sparc/kernel/sparc_ksyms.c linux-2.4.20/arch/sparc/kernel/sparc_ksyms.c
@@ -46,6 +46,9 @@
 #include <asm/sbus.h>
 #include <asm/dma.h>
 #endif
+#ifdef CONFIG_HIGHMEM
+#include <linux/highmem.h>
+#endif
 #include <asm/a.out.h>
 #include <asm/io-unit.h>
 
@@ -204,6 +207,12 @@
 EXPORT_SYMBOL(pci_dma_sync_single);
 #endif
 
+/* in arch/sparc/mm/highmem.c */
+#ifdef CONFIG_HIGHMEM
+EXPORT_SYMBOL(kmap_atomic);
+EXPORT_SYMBOL(kunmap_atomic);
+#endif
+
 /* Solaris/SunOS binary compatibility */
 EXPORT_SYMBOL(svr4_setcontext);
 EXPORT_SYMBOL(svr4_getcontext);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)