parisc: Provide __ucmpdi2 to resolve undefined references in 32 bit builds.
authorJohn David Anglin <dave.anglin@bell.net>
Sat, 20 Apr 2013 19:41:06 +0000 (19:41 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 6 Aug 2015 23:32:19 +0000 (00:32 +0100)
commit53774d1d22885f5bf14645baf551a3c4b6a6efba
tree79f7386270c44068fa64bb433fa82c2ad44eec18
parent6876b78ee008e416e3802e376cf9392e14b9c92a
parisc: Provide __ucmpdi2 to resolve undefined references in 32 bit builds.

commit ca0ad83da17b6ba07f9eb5902e69daac90c4fa61 upstream.

The Debian experimental linux source package (3.8.5-1) build fails
with the following errors:
...
MODPOST 2016 modules
ERROR: "__ucmpdi2" [fs/btrfs/btrfs.ko] undefined!
ERROR: "__ucmpdi2" [drivers/md/dm-verity.ko] undefined!

The attached patch resolves this problem.  It is based on the s390
implementation of ucmpdi2.c.

Signed-off-by: John David Anglin <dave.anglin@bell.net>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
arch/parisc/kernel/parisc_ksyms.c
arch/parisc/lib/Makefile
arch/parisc/lib/ucmpdi2.c [new file with mode: 0644]