summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2016-04-13 14:49:12 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2016-05-10 13:24:48 +0200
commit281eaa8cb67c27e56da1e7fd6b55c6cd3e8c4638 (patch)
tree45225e66680c3cc00e419757641852fa8867c6aa /drivers/rtc
parent0c756914920fc13061222d12fbbe85990df64928 (diff)
s390/cpuinfo: simplify locking and skip offline cpus early
Move the get_online_cpus() and put_online_cpus() to the start and stop operation of the seqfile ops. This way there is no need to lock cpu hotplug again and again for each single cpu. This way we can also skip offline cpus early if we simply use cpumask_next() within the next operation. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions