aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/lib/Makefile
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-04-10 22:10:39 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:28:53 -0700
commitcb8c181f288a1157bc717cc7a02412d4d1dc19bc (patch)
treecfc2ee0d9644d43ab7728a8e563be320d3348a45 /arch/s390/lib/Makefile
parent[SK_BUFF]: Fix missing offset adjustment in skb_copy_expand (diff)
downloadlinux-dev-cb8c181f288a1157bc717cc7a02412d4d1dc19bc.tar.xz
linux-dev-cb8c181f288a1157bc717cc7a02412d4d1dc19bc.zip
[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>
Diffstat (limited to 'arch/s390/lib/Makefile')
-rw-r--r--arch/s390/lib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/lib/Makefile b/arch/s390/lib/Makefile
index 7a44fed21b35..59aea65ce99f 100644
--- a/arch/s390/lib/Makefile
+++ b/arch/s390/lib/Makefile
@@ -5,6 +5,6 @@
EXTRA_AFLAGS := -traditional
lib-y += delay.o string.o uaccess_std.o uaccess_pt.o qrnnd.o
-lib-$(CONFIG_32BIT) += div64.o
+obj-$(CONFIG_32BIT) += div64.o
lib-$(CONFIG_64BIT) += uaccess_mvcos.o
lib-$(CONFIG_SMP) += spinlock.o