Skip to contentSkip to conversation

linux/x86: fix an oversight of c/s 393

PATCH New Jan Beulich 1 participant 1 message Feb 1, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux/x86: fix an oversight of c/s 393

Almost as usual, written and tested on 2.6.16.60 and made apply to the 2.6.18 tree without further testing.

arch/i386/kernel/time-xen.c +1 -1
Index: sle10sp2-2008-01-31/arch/i386/kernel/time-xen.c
===================================================================
@@ -479,7 +479,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;