diff options
| author | Juergen Gross <jgross@suse.com> | 2026-01-05 12:05:06 +0100 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2026-01-12 15:57:23 +0100 |
| commit | 15518e633b7c1780d866365a9ee660af5c2ce9a1 (patch) | |
| tree | 9b68cfcf2c8783d2b421578c106b95f992ed14a6 /drivers/xen | |
| parent | e6b2aa6d40045a3149071ca3af950ea8e6ff79c4 (diff) | |
arm/paravirt: Use common code for paravirt_steal_clock()
Remove the arch-specific variant of paravirt_steal_clock() and use
the common one instead.
This allows to remove paravirt.c and paravirt.h from arch/arm.
Until all archs supporting Xen have been switched to the common code
of paravirt_steal_clock(), drivers/xen/time.c needs to include
asm/paravirt.h for those archs, while this is not necessary for arm
any longer.
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-8-jgross@suse.com
Diffstat (limited to 'drivers/xen')
| -rw-r--r-- | drivers/xen/time.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/xen/time.c b/drivers/xen/time.c index d360ded2ef39..53b12f5ac465 100644 --- a/drivers/xen/time.c +++ b/drivers/xen/time.c @@ -10,7 +10,9 @@ #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> |
