Missing EXPORT_SYMBOL
This fixes some missing symbol exports for kernel modules.
arch/ia64/mm/Makefile renamed from arch/ia64/mm/Makefile.~1~ +2 -0
@@ -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
arch/ia64/mm/init.c renamed from arch/ia64/mm/init.c.~1~ +4 -0
@@ -5,6 +5,7 @@* David Mosberger-Tang <[email protected]> */ #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.
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] 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."