powerpc: Provide __bswapdi2
authorDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 13 May 2013 00:23:38 +0000 (00:23 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 14 May 2013 06:00:17 +0000 (16:00 +1000)
commitca9d7aea5952c5e90bfe28ed738a7e962c0adad2
tree5e8cdcf9447c2263219eaa7f0b4f5ad7fd176ee7
parentb2b48584dfc69a5ebc70ee7976524d7122e5df5f
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>
arch/powerpc/kernel/misc_32.S
arch/powerpc/kernel/misc_64.S
arch/powerpc/kernel/ppc_ksyms.c