Files
i2som-imx-linux/arch/x86/include/asm
Joao Martins 9a12f78a86 x86/pvclock: add setter for pvclock_pvti_cpu0_va
commit 9f08890ab9 upstream.

Right now there is only a pvclock_pvti_cpu0_va() which is defined
on kvmclock since:

commit dac16fba6f
("x86/vdso: Get pvclock data from the vvar VMA instead of the fixmap")

The only user of this interface so far is kvm. This commit adds a
setter function for the pvti page and moves pvclock_pvti_cpu0_va
to pvclock, which is a more generic place to have it; and would
allow other PV clocksources to use it, such as Xen.

While moving pvclock_pvti_cpu0_va into pvclock, rename also this
function to pvclock_get_pvti_cpu0_va (including its call sites)
to be symmetric with the setter (pvclock_set_pvti_cpu0_va).

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Acked-by: Andy Lutomirski <luto@kernel.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-01-31 08:13:47 +01:00
..
2018-02-22 15:42:23 +01:00
2018-01-02 20:31:02 +01:00
2018-02-22 15:42:23 +01:00
2018-08-17 21:01:10 +02:00
2017-12-29 17:53:44 +01:00
2017-12-29 17:53:43 +01:00
2018-02-07 11:12:22 -08:00
2018-11-10 07:48:36 -08:00
2018-02-22 15:42:24 +01:00
2018-02-22 15:42:24 +01:00
2018-09-05 09:26:39 +02:00
2018-02-22 15:42:23 +01:00