]> git.baikalelectronics.ru Git - kernel.git/commit
[S390]: Fix build on 31-bit.
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 11 Apr 2007 05:10:39 +0000 (22:10 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:28:53 +0000 (22:28 -0700)
commitf06e68038650b14d9d2a8b13005dcb606dbeffea
treecfc2ee0d9644d43ab7728a8e563be320d3348a45
parent0bc532bd6f509625b3b3b9d4b5662af8a93317b4
[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