sparc32: add ucmpdi2
authorSam Ravnborg <sam@ravnborg.org>
Sat, 19 May 2012 09:54:11 +0000 (11:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Aug 2013 15:21:01 +0000 (08:21 -0700)
commitec982038bd3b0620090e80075be2b5bb5dd26872
tree3322664185c05e352e718c83594c72d4e5de2f28
parentd808cb7d6aacff9e39d6d1a4e4ad54ad0a47e901
sparc32: add ucmpdi2

commit de36e66d5fa52bc6e2dacd95c701a1762b5308a7 upstream.

Based on copy from microblaze add ucmpdi2 implementation.
This fixes build of niu driver which failed with:

drivers/built-in.o: In function `niu_get_nfc':
niu.c:(.text+0x91494): undefined reference to `__ucmpdi2'

This driver will never be used on a sparc32 system,
but patch added to fix build breakage with all*config builds.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/sparc/lib/Makefile
arch/sparc/lib/ucmpdi2.c [new file with mode: 0644]