summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/paravirt_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-12-16 04:22:08 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-12-21 00:40:30 +0300
commita5a0abfdb319713261f43a7fac0a1c3eb0e9d8ea (patch)
treeca865820203390821c45aaf99cf28597cce65f28 /arch/x86/include/asm/paravirt_types.h
parentfc09b4919cab2a5d78250f557a4fcdd16340c1b2 (diff)
downloadlinux-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_types.h')
-rw-r--r--arch/x86/include/asm/paravirt_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/paravirt_types.h b/arch/x86/include/asm/paravirt_types.h
index 772d03487520..3cfcd5db083b 100644
--- a/arch/x86/include/asm/paravirt_types.h
+++ b/arch/x86/include/asm/paravirt_types.h
@@ -3,6 +3,8 @@
#define _ASM_X86_PARAVIRT_TYPES_H
#ifndef __ASSEMBLY__
+#include <linux/types.h>
+
/* These all sit in the .parainstructions section to tell us what to patch. */
struct paravirt_patch_site {
u8 *instr; /* original instructions */