Home
last modified time | relevance | path

Searched hist:"8 a883670" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/s390/lib/
H A DMakefile8a883670 Tue Jul 10 04:24:14 CDT 2007 Martin Schwidefsky <schwidefsky@de.ibm.com> [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>
8a883670 Tue Jul 10 04:24:14 CDT 2007 Martin Schwidefsky <schwidefsky@de.ibm.com> [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>