[S390] prevent unneccesary loops_per_jiffy recalculation
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 5 Jan 2011 11:48:18 +0000 (12:48 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 5 Jan 2011 11:47:32 +0000 (12:47 +0100)
commit8e1023016cf17152972b98bce6c144834a4916d5
treeb53d3e5a089fa96d837c6004262c2c24f9580523
parent19726cec63aeadad127f9e72ee69240336e37f15
[S390] prevent unneccesary loops_per_jiffy recalculation

When the seqfile /proc/cpuinfo gets accesses for each possible cpu
loops_per_jiffy gets recalculated. However its value is only needed
on first access.
In addition loops_per_jiffy should be recalculated when the machine
reports a capability change.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/processor.c
drivers/s390/char/sclp_config.c