[S390] boot cputime accounting
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 14 Apr 2009 13:36:29 +0000 (15:36 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 14 Apr 2009 13:37:27 +0000 (15:37 +0200)
commitab96e798cbd562a53edd802272e49a5100b29efb
tree4b3558bc97f5c2fc5c63789431deef79534e3bd3
parentb6112ccbff5ec580d46b584ecc3c3a773b830da2
[S390] boot cputime accounting

Start the cpu time accounting very early to catch the cpu time spent
for the initial kernel setup. To make the output of /proc/uptime
match the sum of all cpu accounting values of the boot cpu reset
xtime and wall_to_monotonic to sane values based on the TOD clock.
The values set by timekeeping_init are off by up to a second.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/head.S
arch/s390/kernel/setup.c
arch/s390/kernel/time.c
arch/s390/kernel/vtime.c