diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-16 04:22:08 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-21 00:40:30 +0300 |
commit | a5a0abfdb319713261f43a7fac0a1c3eb0e9d8ea (patch) | |
tree | ca865820203390821c45aaf99cf28597cce65f28 /arch/x86/include/asm/paravirt.h | |
parent | fc09b4919cab2a5d78250f557a4fcdd16340c1b2 (diff) | |
download | linux-a5a0abfdb319713261f43a7fac0a1c3eb0e9d8ea.tar.xz |
x86: fix missing includes/forward declarations
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'arch/x86/include/asm/paravirt.h')
-rw-r--r-- | arch/x86/include/asm/paravirt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/include/asm/paravirt.h b/arch/x86/include/asm/paravirt.h index 6c8ff12140ae..49020002663b 100644 --- a/arch/x86/include/asm/paravirt.h +++ b/arch/x86/include/asm/paravirt.h @@ -6,6 +6,10 @@ #include <asm/paravirt_types.h> +#ifndef __ASSEMBLY__ +struct mm_struct; +#endif + #ifdef CONFIG_PARAVIRT #include <asm/pgtable_types.h> #include <asm/asm.h> |