diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-01-05 12:48:18 +0100 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 12:47:32 +0100 |
commit | 8e1023016cf17152972b98bce6c144834a4916d5 (patch) | |
tree | b53d3e5a089fa96d837c6004262c2c24f9580523 /drivers/s390/scsi | |
parent | [S390] cpuinfo: use get_online_cpus() instead of preempt_disable() (diff) | |
download | linux-8e1023016cf17152972b98bce6c144834a4916d5.tar.xz linux-8e1023016cf17152972b98bce6c144834a4916d5.zip |
[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>
Diffstat (limited to 'drivers/s390/scsi')
0 files changed, 0 insertions, 0 deletions