x86/paravirt: Use common code for paravirt_steal_clock()

Remove the arch-specific variant of paravirt_steal_clock() and use
the common one instead.

With all archs supporting Xen now having been switched to the common
variant, including paravirt.h can be dropped from drivers/xen/time.c.

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260105110520.21356-12-jgross@suse.com
This commit is contained in:
Juergen Gross
2026-01-05 12:05:10 +01:00
committed by Borislav Petkov (AMD)
parent ee9ffcf99f
commit 589f41f2f0
5 changed files with 2 additions and 16 deletions

View File

@@ -10,9 +10,6 @@
#include <linux/static_call.h>
#include <linux/sched/cputime.h>
#ifndef CONFIG_HAVE_PV_STEAL_CLOCK_GEN
#include <asm/paravirt.h>
#endif
#include <asm/xen/hypervisor.h>
#include <asm/xen/hypercall.h>