]> git.baikalelectronics.ru Git - kernel.git/commit
[S390] Bogomips calculation for 64 bit.
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 10 Jul 2007 09:24:14 +0000 (11:24 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 10 Jul 2007 09:24:47 +0000 (11:24 +0200)
commita2501dcfd0929fa876e2d7ec1bd92a36ca063118
tree6fe082e731cdf56983934e11ebfcfc1d10664e5b
parent7b517a734479d82eaaff0820d3a93d8a584f3477
[S390] Bogomips calculation for 64 bit.

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>
arch/s390/lib/Makefile
include/asm-s390/sfp-machine.h
include/asm-s390/sfp-util.h