summaryrefslogtreecommitdiff
path: root/include/asm-ppc64/iSeries/mf.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-05-25 10:29:26 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-25 21:13:43 +0400
commitd0e8e29100c9866878d43bbb40ca17e8fe429851 (patch)
tree079da8af2553ae3dd3556e82a5f8d2362b0ea755 /include/asm-ppc64/iSeries/mf.h
parent8f80e5c911465743ccd3a328f992c7d8aaebf1e8 (diff)
downloadlinux-d0e8e29100c9866878d43bbb40ca17e8fe429851.tar.xz
[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/iSeries/mf.h')
-rw-r--r--include/asm-ppc64/iSeries/mf.h1
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 */