]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/lguest/boot.c
Merge tag 'remove-local-timers' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / arch / x86 / lguest / boot.c
index d482bcaf61c182d7daac37a4c833303dd38eb658..6a22c19da6633601c73c1136964950d61f1c855b 100644 (file)
@@ -882,9 +882,9 @@ int lguest_setup_irq(unsigned int irq)
  * It would be far better for everyone if the Guest had its own clock, but
  * until then the Host gives us the time on every interrupt.
  */
-static unsigned long lguest_get_wallclock(void)
+static void lguest_get_wallclock(struct timespec *now)
 {
-       return lguest_data.time.tv_sec;
+       *now = lguest_data.time;
 }
 
 /*