mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 12:35:52 +02:00
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:
parent
07f2961235
commit
e0b4904a40
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user