Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

paravirt: Remove asm/paravirt_api_clock.h

All architectures supporting CONFIG_PARAVIRT share the same contents
of asm/paravirt_api_clock.h:

#include <asm/paravirt.h>

So remove all incarnations of asm/paravirt_api_clock.h and remove the
only place where it is included, as there asm/paravirt.h is included
anyway.

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com> # powerpc, scheduler bits
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://patch.msgid.link/20260105110520.21356-6-jgross@suse.com

authored by

Juergen Gross and committed by
Borislav Petkov (AMD)
68b10fd4 b49c63ee

-8
-1
arch/arm/include/asm/paravirt_api_clock.h
··· 1 - #include <asm/paravirt.h>
-1
arch/arm64/include/asm/paravirt_api_clock.h
··· 1 - #include <asm/paravirt.h>
-1
arch/loongarch/include/asm/paravirt_api_clock.h
··· 1 - #include <asm/paravirt.h>
-2
arch/powerpc/include/asm/paravirt_api_clock.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - #include <asm/paravirt.h>
-1
arch/riscv/include/asm/paravirt_api_clock.h
··· 1 - #include <asm/paravirt.h>
-1
arch/x86/include/asm/paravirt_api_clock.h
··· 1 - #include <asm/paravirt.h>
-1
kernel/sched/sched.h
··· 84 84 85 85 #ifdef CONFIG_PARAVIRT 86 86 # include <asm/paravirt.h> 87 - # include <asm/paravirt_api_clock.h> 88 87 #endif 89 88 90 89 #include <asm/barrier.h>