parisc: Provide __ucmpdi2 to resolve undefined references in 32 bit builds.
authorJohn David Anglin <[email protected]>
Sat, 20 Apr 2013 19:41:06 +0000 (19:41 +0000)
committerHelge Deller <[email protected]>
Thu, 25 Apr 2013 20:36:15 +0000 (22:36 +0200)
commitca0ad83da17b6ba07f9eb5902e69daac90c4fa61
tree70f7a317a22e276721535f652624e2d6c6c3e4dd
parent0fbd06761f5c17cc9b20e02af60fd7ee9c895996
parisc: Provide __ucmpdi2 to resolve undefined references in 32 bit builds.

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 <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
arch/parisc/kernel/parisc_ksyms.c
arch/parisc/lib/Makefile
arch/parisc/lib/ucmpdi2.c [new file with mode: 0644]