[S390]: Fix build on 31-bit.
commitcb8c181f288a1157bc717cc7a02412d4d1dc19bc
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Apr 2007 05:10:39 +0000 (10 22:10 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:28:53 +0000 (25 22:28 -0700)
treecfc2ee0d9644d43ab7728a8e563be320d3348a45
parentefd1e8d569b3d35a3a636683c2a9ebffec9c1fcf
[S390]: Fix build on 31-bit.

Allow s390 to properly override the generic
__div64_32() implementation by:

1) Using obj-y for div64.o in s390's makefile instead
   of lib-y

2) Adding the weak attribute to the generic implementation.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/s390/lib/Makefile
arch/s390/lib/div64.c
lib/div64.c