s390/vtime: do not reset idle data on CPU hotplug
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 1 Oct 2014 08:44:40 +0000 (10:44 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 9 Oct 2014 07:13:58 +0000 (09:13 +0200)
commita9b1649917f0d2058022eda06082f9d299a06354
tree245fbfb453c5e3626f598d6f37c09a1a74f135b4
parent5db8440c36a3308649b99f65b68195394dd7fed4
s390/vtime: do not reset idle data on CPU hotplug

The sysfs attributes /sys/devices/system/cpu/cpu0/idle_count and
/sys/devices/system/cpu/cpu0/idle_time_us are reset to zero every
time a CPU is set online. The idle and iowait fields in /proc/stat
corresponding to idle_time_us are not reset. To make things
consistent do not reset the data for the sys attributes.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/processor.c