]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit8a88367088a6b9964d99694b30d80720f019bea2
tree6fe082e731cdf56983934e11ebfcfc1d10664e5b
parent285f67227b63309d699f5bda25ba34962503398f
[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