diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-05-25 08:29:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-25 19:13:43 +0200 |
commit | d0e8e29100c9866878d43bbb40ca17e8fe429851 (patch) | |
tree | 079da8af2553ae3dd3556e82a5f8d2362b0ea755 /include/asm-ppc64 | |
parent | [PATCH] ppc64: fix initialisation of gettimeofday calculations (diff) | |
download | linux-d0e8e29100c9866878d43bbb40ca17e8fe429851.tar.xz linux-d0e8e29100c9866878d43bbb40ca17e8fe429851.zip |
[PATCH] ppc64 iSeries: fix boot time setting
For quite a while, there has existed a hypervisor bug on legacy iSeries
which means that we do not get the boot time set in the kernel. This
patch works around that bug. This was most noticable when the root
partition needed to be checked at every boot as the kernel thought it
was some time in 1905 until user mode reset the time correctly.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-ppc64')
-rw-r--r-- | include/asm-ppc64/iSeries/mf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ppc64/iSeries/mf.h b/include/asm-ppc64/iSeries/mf.h index 2e59a8e15a0b..db333e1ee216 100644 --- a/include/asm-ppc64/iSeries/mf.h +++ b/include/asm-ppc64/iSeries/mf.h @@ -52,6 +52,7 @@ extern void mf_clear_src(void); extern void mf_init(void); extern int mf_get_rtc(struct rtc_time *tm); +extern int mf_get_boot_rtc(struct rtc_time *tm); extern int mf_set_rtc(struct rtc_time *tm); #endif /* _ASM_PPC64_ISERIES_MF_H */ |