summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/ppc_ksyms.c
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2013-09-23 04:04:51 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-10-11 07:48:39 +0200
commit7a332b0c9a59e0b0777dec55eefdda0f9a24ac52 (patch)
tree102250f85f5f245f5a208b76a7adae05a679368b /arch/powerpc/kernel/ppc_ksyms.c
parentpowerpc: Handle VSX alignment faults in little endian mode (diff)
downloadlinux-7a332b0c9a59e0b0777dec55eefdda0f9a24ac52.tar.xz
linux-7a332b0c9a59e0b0777dec55eefdda0f9a24ac52.zip
powerpc: Use generic checksum code in little endian
We need to fix some endian issues in our checksum code. For now just enable the generic checksum routines for little endian builds. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/ppc_ksyms.c')
-rw-r--r--arch/powerpc/kernel/ppc_ksyms.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c
index 21646dbe1bb3..3b485c5cff10 100644
--- a/arch/powerpc/kernel/ppc_ksyms.c
+++ b/arch/powerpc/kernel/ppc_ksyms.c
@@ -79,10 +79,12 @@ EXPORT_SYMBOL(strlen);
EXPORT_SYMBOL(strcmp);
EXPORT_SYMBOL(strncmp);
+#ifndef CONFIG_GENERIC_CSUM
EXPORT_SYMBOL(csum_partial);
EXPORT_SYMBOL(csum_partial_copy_generic);
EXPORT_SYMBOL(ip_fast_csum);
EXPORT_SYMBOL(csum_tcpudp_magic);
+#endif
EXPORT_SYMBOL(__copy_tofrom_user);
EXPORT_SYMBOL(__clear_user);