[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] linux/x86: Fix a missing hypercall WARN_ON().



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1201865573 0
# Node ID 3cd3352a99850c4e705408e312e26f732cecb792
# Parent  687ef5a4fcb7c6a0c8fe90ab25ce58a465c1cb4b
linux/x86: Fix a missing hypercall WARN_ON().
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 arch/i386/kernel/time-xen.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 687ef5a4fcb7 -r 3cd3352a9985 arch/i386/kernel/time-xen.c
--- a/arch/i386/kernel/time-xen.c       Fri Feb 01 11:11:12 2008 +0000
+++ b/arch/i386/kernel/time-xen.c       Fri Feb 01 11:32:53 2008 +0000
@@ -474,7 +474,7 @@ int do_settimeofday(struct timespec *tv)
                op.u.settime.secs        = sec;
                op.u.settime.nsecs       = nsec;
                op.u.settime.system_time = shadow->system_timestamp;
-               HYPERVISOR_platform_op(&op);
+               WARN_ON(HYPERVISOR_platform_op(&op));
                update_wallclock();
        } else if (independent_wallclock) {
                nsec -= shadow->system_timestamp;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.