summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/ppc_ksyms.c
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2013-05-13 02:23:38 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-05-14 08:00:17 +0200
commitca9d7aea5952c5e90bfe28ed738a7e962c0adad2 (patch)
tree5e8cdcf9447c2263219eaa7f0b4f5ad7fd176ee7 /arch/powerpc/kernel/ppc_ksyms.c
parentpowerpc/powernv: Fix starting of secondary CPUs on OPALv2 and v3 (diff)
downloadlinux-ca9d7aea5952c5e90bfe28ed738a7e962c0adad2.tar.xz
linux-ca9d7aea5952c5e90bfe28ed738a7e962c0adad2.zip
powerpc: Provide __bswapdi2
Some versions of GCC apparently expect this to be provided by libgcc. Updates from Mikey to fix 32 bit version and adding "r" to registers. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Michael Neuling <mikey@neuling.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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c
index 78b8766fd79e..c29666586998 100644
--- a/arch/powerpc/kernel/ppc_ksyms.c
+++ b/arch/powerpc/kernel/ppc_ksyms.c
@@ -143,7 +143,8 @@ EXPORT_SYMBOL(__lshrdi3);
int __ucmpdi2(unsigned long long, unsigned long long);
EXPORT_SYMBOL(__ucmpdi2);
#endif
-
+long long __bswapdi2(long long);
+EXPORT_SYMBOL(__bswapdi2);
EXPORT_SYMBOL(memcpy);
EXPORT_SYMBOL(memset);
EXPORT_SYMBOL(memmove);