]> bbs.cooldavid.org Git - net-next-2.6.git/commit - arch/s390/kernel/early.c
[S390] add read_persistent_clock
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 14 Apr 2009 13:36:28 +0000 (15:36 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 14 Apr 2009 13:37:27 +0000 (15:37 +0200)
commitb6112ccbff5ec580d46b584ecc3c3a773b830da2
tree71553f09a2acfedec85f3c29a1c65e0a257001fb
parent5b409ed17bb32c8316b1f456466c70529454573a
[S390] add read_persistent_clock

Add a read_persistent_clock function that does not just return 0.
Since timekeeping_init calls the function before time_init has been
called move reset_tod_clock to early.c to make sure that the TOD
clock is running when read_persistent_clock is invoked.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/timex.h
arch/s390/kernel/early.c
arch/s390/kernel/head.S
arch/s390/kernel/time.c