x86/paravirt: Remove some unneeded struct declarations

In paravirt_types.h and paravirt.h there are some struct declarations which
are not needed. Remove them.

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-3-jgross@suse.com
This commit is contained in:
Juergen Gross 2026-01-05 12:05:01 +01:00 committed by Borislav Petkov (AMD)
parent 07f2961235
commit e0b4904a40
2 changed files with 0 additions and 10 deletions

View File

@ -6,10 +6,6 @@
#include <asm/paravirt_types.h>
#ifndef __ASSEMBLER__
struct mm_struct;
#endif
#ifdef CONFIG_PARAVIRT
#include <asm/pgtable_types.h>
#include <asm/asm.h>

View File

@ -11,16 +11,11 @@
#include <asm/pgtable_types.h>
#include <asm/nospec-branch.h>
struct page;
struct thread_struct;
struct desc_ptr;
struct tss_struct;
struct mm_struct;
struct desc_struct;
struct task_struct;
struct cpumask;
struct flush_tlb_info;
struct mmu_gather;
struct vm_area_struct;
/*
@ -205,7 +200,6 @@ struct pv_mmu_ops {
#endif
} __no_randomize_layout;
struct arch_spinlock;
#ifdef CONFIG_SMP
#include <asm/spinlock_types.h>
#endif