Browse Source

[MIPS] Export csum_partial_copy_nocheck.

ibmtr.c and typhoon.c use it.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Ralf Baechle 18 years ago
parent
commit
ae32ffd65b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      arch/mips/lib/csum_partial_copy.c

+ 3 - 0
arch/mips/lib/csum_partial_copy.c

@@ -7,6 +7,7 @@
  * Copyright (C) 1998, 1999 Ralf Baechle
  * Copyright (C) 1998, 1999 Ralf Baechle
  */
  */
 #include <linux/kernel.h>
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/types.h>
 #include <linux/types.h>
 #include <asm/byteorder.h>
 #include <asm/byteorder.h>
 #include <asm/string.h>
 #include <asm/string.h>
@@ -29,6 +30,8 @@ __wsum csum_partial_copy_nocheck(const void *src,
 	return sum;
 	return sum;
 }
 }
 
 
+EXPORT_SYMBOL(csum_partial_copy_nocheck);
+
 /*
 /*
  * Copy from userspace and compute checksum.  If we catch an exception
  * Copy from userspace and compute checksum.  If we catch an exception
  * then zero the rest of the buffer.
  * then zero the rest of the buffer.