8a88367088
The bogomips calculation triggered via reading from /proc/cpuinfo can return incorrect values if the qrnnd assembly is called with a pointer in %r2 with any of the upper 32 bits set. Fix this by using 64 bit division / remainder operation provided by gcc instead of calling the assembly. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
10 lines
243 B
Makefile
10 lines
243 B
Makefile
#
|
|
# Makefile for s390-specific library files..
|
|
#
|
|
|
|
EXTRA_AFLAGS := -traditional
|
|
|
|
lib-y += delay.o string.o uaccess_std.o uaccess_pt.o
|
|
obj-$(CONFIG_32BIT) += div64.o qrnnd.o
|
|
lib-$(CONFIG_64BIT) += uaccess_mvcos.o
|
|
lib-$(CONFIG_SMP) += spinlock.o
|