[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] pvgrub: value returned by getrtsecs should be BCD
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1228139146 0 # Node ID f39673ce7d6e084d86b2d5c8c77eca63fa469c0a # Parent a00eb6595d3c4cbfcc24c653c175fe76811c3059 pvgrub: value returned by getrtsecs should be BCD Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- stubdom/grub/mini-os.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r a00eb6595d3c -r f39673ce7d6e stubdom/grub/mini-os.c --- a/stubdom/grub/mini-os.c Sat Nov 29 09:07:52 2008 +0000 +++ b/stubdom/grub/mini-os.c Mon Dec 01 13:45:46 2008 +0000 @@ -649,7 +649,7 @@ int getrtsecs (void) { struct timeval tv; gettimeofday(&tv, NULL); - return tv.tv_sec; + return tv.tv_sec % 10 + ((tv.tv_sec / 10) % 6) * 0x10; } int currticks (void) _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |