[S390] reset cputime accounting after IPL from NSS
commitb89031e087a47819be48028e62cebade5f9fb75b
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 13 Nov 2009 14:43:52 +0000 (13 15:43 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Fri, 13 Nov 2009 14:45:03 +0000 (13 15:45 +0100)
tree9dad3fee30d0d7092ca48357bccaa34237179dde
parentccaf6553963bc6304d5820962a08a4397d0a2dc2
[S390] reset cputime accounting after IPL from NSS

After an IPL from NSS the uptime of the system is incorrect. The reason
is that the startup code in head.S is not executed in case of an IPL
from NSS. Due to that sched_clock_base_cc which is used to initialze
wall_to_monotonic contains the time stamp when the NSS has been created
instead of the time stamp of the system start.

Reinitialize the cputime accounting values in create_kernel_nss after
the SAVESYS CP command that created the NSS segment.

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