]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commitdiff
linux/x86: Fix a missing hypercall WARN_ON().
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 1 Feb 2008 11:32:53 +0000 (11:32 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 1 Feb 2008 11:32:53 +0000 (11:32 +0000)
Signed-off-by: Jan Beulich <jbeulich@novell.com>
arch/i386/kernel/time-xen.c

index d7218a25d80b6482f7d1d04f4787ed45f4e6f275..2ce291d5ef6e8d4ec03f23392830701903abf392 100644 (file)
@@ -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;