summaryrefslogtreecommitdiff
path: root/arch/x86/boot/compressed/sev-handle-vc.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/boot/compressed/sev-handle-vc.c')
-rw-r--r--arch/x86/boot/compressed/sev-handle-vc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/boot/compressed/sev-handle-vc.c b/arch/x86/boot/compressed/sev-handle-vc.c
index 89dd02de2a0f..7530ad8b768b 100644
--- a/arch/x86/boot/compressed/sev-handle-vc.c
+++ b/arch/x86/boot/compressed/sev-handle-vc.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0
#include "misc.h"
+#include "error.h"
#include "sev.h"
#include <linux/kernel.h>
@@ -14,6 +15,8 @@
#include <asm/fpu/xcr.h>
#define __BOOT_COMPRESSED
+#undef __init
+#define __init
/* Basic instruction decoding support needed */
#include "../../lib/inat.c"