]> git.hungrycats.org Git - linux/commitdiff
ia64: Add missing exports to modules build again.
authorDavid Mosberger <davidm@tiger.hpl.hp.com>
Fri, 17 Oct 2003 15:51:49 +0000 (08:51 -0700)
committerDavid Mosberger <davidm@tiger.hpl.hp.com>
Fri, 17 Oct 2003 15:51:49 +0000 (08:51 -0700)
arch/ia64/kernel/ia64_ksyms.c
arch/ia64/kernel/process.c
arch/ia64/lib/checksum.c
arch/ia64/lib/csum_partial_copy.c
arch/ia64/mm/init.c

index e98440c847e93e924e0125635ffcbb145a8b58c3..be3966ac2f223472362e052eebdf5a7e88a03690 100644 (file)
@@ -34,13 +34,8 @@ EXPORT_SYMBOL(disable_irq_nosync);
 #include <linux/interrupt.h>
 EXPORT_SYMBOL(probe_irq_mask);
 
-#include <linux/in6.h>
 #include <asm/checksum.h>
-/* not coded yet?? EXPORT_SYMBOL(csum_ipv6_magic); */
-EXPORT_SYMBOL(csum_partial_copy_nocheck);
-EXPORT_SYMBOL(csum_tcpudp_magic);
-EXPORT_SYMBOL(ip_compute_csum);
-EXPORT_SYMBOL(ip_fast_csum);
+EXPORT_SYMBOL(ip_fast_csum);           /* hand-coded assembly */
 
 #include <asm/io.h>
 EXPORT_SYMBOL(__ia64_memcpy_fromio);
@@ -58,9 +53,11 @@ EXPORT_SYMBOL_NOVERS(__up);
 EXPORT_SYMBOL(clear_page);
 
 #ifdef CONFIG_VIRTUAL_MEM_MAP
+#include <linux/bootmem.h>
 #include <asm/pgtable.h>
 EXPORT_SYMBOL(vmalloc_end);
 EXPORT_SYMBOL(ia64_pfn_valid);
+EXPORT_SYMBOL(max_low_pfn);    /* defined by bootmem.c, but not exported by generic code */
 #endif
 
 #include <asm/processor.h>
index 5e0d57e5c546310fc451adf4c163f037038a0eba..cbefd04e8a050d0358fe6502e401489d325a62be 100644 (file)
@@ -685,12 +685,16 @@ machine_restart (char *restart_cmd)
        (*efi.reset_system)(EFI_RESET_WARM, 0, 0, 0);
 }
 
+EXPORT_SYMBOL(machine_restart);
+
 void
 machine_halt (void)
 {
        cpu_halt();
 }
 
+EXPORT_SYMBOL(machine_halt);
+
 void
 machine_power_off (void)
 {
@@ -698,3 +702,5 @@ machine_power_off (void)
                pm_power_off();
        machine_halt();
 }
+
+EXPORT_SYMBOL(machine_power_off);
index f4b64765ecbf2f25689822c5d0732192459fde70..beb11721d9f5fe777884b7624a94d4c8ad0a360e 100644 (file)
@@ -1,8 +1,8 @@
 /*
  * Network checksum routines
  *
- * Copyright (C) 1999 Hewlett-Packard Co
- * Copyright (C) 1999 Stephane Eranian <eranian@hpl.hp.com>
+ * Copyright (C) 1999, 2003 Hewlett-Packard Co
+ *     Stephane Eranian <eranian@hpl.hp.com>
  *
  * Most of the code coming from arch/alpha/lib/checksum.c
  *
@@ -10,6 +10,7 @@
  * in an architecture-specific manner due to speed..
  */
 
+#include <linux/module.h>
 #include <linux/string.h>
 
 #include <asm/byteorder.h>
@@ -40,6 +41,8 @@ csum_tcpudp_magic (unsigned long saddr, unsigned long daddr, unsigned short len,
                           ((unsigned long) proto << 8));
 }
 
+EXPORT_SYMBOL(csum_tcpudp_magic);
+
 unsigned int
 csum_tcpudp_nofold (unsigned long saddr, unsigned long daddr, unsigned short len,
                    unsigned short proto, unsigned int sum)
@@ -84,6 +87,7 @@ csum_partial (const unsigned char * buff, int len, unsigned int sum)
        return result;
 }
 
+EXPORT_SYMBOL(csum_partial);
 
 /*
  * this routine is used for miscellaneous IP-like checksums, mainly
@@ -94,3 +98,5 @@ ip_compute_csum (unsigned char * buff, int len)
 {
        return ~do_csum(buff,len);
 }
+
+EXPORT_SYMBOL(ip_compute_csum);
index 3549e0082d9573a328c2b5e4a6788b0d5347740b..269dcc2cb772d80fb162e9fb0877a1ebde92cf73 100644 (file)
@@ -1,12 +1,13 @@
 /*
  * Network Checksum & Copy routine
  *
- * Copyright (C) 1999 Hewlett-Packard Co
- * Copyright (C) 1999 Stephane Eranian <eranian@hpl.hp.com>
+ * Copyright (C) 1999, 2003 Hewlett-Packard Co
+ *     Stephane Eranian <eranian@hpl.hp.com>
  *
  * Most of the code has been imported from Linux/Alpha
  */
 
+#include <linux/module.h>
 #include <linux/types.h>
 #include <linux/string.h>
 
@@ -146,3 +147,4 @@ csum_partial_copy_nocheck(const char *src, char *dst, int len, unsigned int sum)
        return do_csum_partial_copy_from_user(src, dst, len, sum, NULL);
 }
 
+EXPORT_SYMBOL(csum_partial_copy_nocheck);
index 0616dcb736988c63d02504335898c880c2df6f4a..fe56b93221c99044cd0247bc059aa507211d6806 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/elf.h>
 #include <linux/mm.h>
 #include <linux/mmzone.h>
+#include <linux/module.h>
 #include <linux/personality.h>
 #include <linux/reboot.h>
 #include <linux/slab.h>
@@ -43,6 +44,8 @@ unsigned long MAX_DMA_ADDRESS = PAGE_OFFSET + 0x100000000UL;
 #ifdef CONFIG_VIRTUAL_MEM_MAP
   unsigned long vmalloc_end = VMALLOC_END_INIT;
   struct page *vmem_map;
+
+  EXPORT_SYMBOL(vmem_map);
 #endif
 
 static int pgt_cache_water[2] = { 25, 50 };