[Linux-ia64] Missing EXPORT_SYMBOL

From: Andreas Schwab <schwab_at_suse.de>
Date: 2002-08-27 21:15:19
This fixes some missing symbol exports for kernel modules.

--- linux/arch/ia64/mm/Makefile.~1~
+++ linux/arch/ia64/mm/Makefile
@@ -9,6 +9,8 @@
 
 O_TARGET := mm.o
 
+export-objs := init.o
+
 obj-y	 := init.o fault.o tlb.o extable.o
 
 include $(TOPDIR)/Rules.make
--- linux/arch/ia64/mm/init.c.~1~
+++ linux/arch/ia64/mm/init.c
@@ -5,6 +5,7 @@
  *	David Mosberger-Tang <davidm@hpl.hp.com>
  */
 #include <linux/config.h>
+#include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
 
@@ -40,6 +41,7 @@ static unsigned long totalram_pages;
 
 #ifdef CONFIG_VIRTUAL_MEM_MAP
 unsigned long vmalloc_end = VMALLOC_END_INIT;
+EXPORT_SYMBOL(vmalloc_end);
 
 static struct page *vmem_map;
 static unsigned long num_dma_physpages;
@@ -475,6 +477,8 @@ ia64_page_valid (struct page *page)
 	return __get_user(byte, (char *) page) == 0;
 }
 
+EXPORT_SYMBOL(ia64_page_valid);
+
 #endif /* CONFIG_VIRTUAL_MEM_MAP */
 
 static int

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Received on Tue Aug 27 04:15:56 2002

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:10 EST