]> git.baikalelectronics.ru Git - kernel.git/commit
time: export time information for KVM pvclock
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 28 Nov 2012 01:28:59 +0000 (23:28 -0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 28 Nov 2012 01:29:12 +0000 (23:29 -0200)
commit2f6d2f7d17d2c5f8d51004d7bfd7873b95544dc7
tree0340c76e923fc02a47e5be8bd88c1d75ee0a84f1
parent949992ab59ad1f4a13b4adc9078c6d10b495dba3
time: export time information for KVM pvclock

As suggested by John, export time data similarly to how its
done by vsyscall support. This allows KVM to retrieve necessary
information to implement vsyscall support in KVM guests.

Acked-by: John Stultz <johnstul@us.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
include/linux/pvclock_gtod.h [new file with mode: 0644]
kernel/time/timekeeping.c