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
#include <asm/paravirt_types.h>
-#ifndef __ASSEMBLER__
-struct mm_struct;
-#endif
-
#ifdef CONFIG_PARAVIRT
#include <asm/pgtable_types.h>
#include <asm/asm.h>
#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;
/*
#endif
} __no_randomize_layout;
-struct arch_spinlock;
#ifdef CONFIG_SMP
#include <asm/spinlock_types.h>
#endif