mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 08:56:45 +07:00
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>
11 lines
243 B
Makefile
11 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
|