File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 26
26
#include <asm/fpu/xcr.h>
27
27
#include <asm/processor.h>
28
28
#include <asm/realmode.h>
29
+ #include <asm/setup.h>
29
30
#include <asm/traps.h>
30
31
#include <asm/svm.h>
31
32
#include <asm/smp.h>
@@ -86,9 +87,6 @@ struct ghcb_state {
86
87
static DEFINE_PER_CPU (struct sev_es_runtime_data * , runtime_data );
87
88
DEFINE_STATIC_KEY_FALSE (sev_es_enable_key );
88
89
89
- /* Needed in vc_early_forward_exception */
90
- void do_early_exception (struct pt_regs * regs , int trapnr );
91
-
92
90
static __always_inline bool on_vc_stack (struct pt_regs * regs )
93
91
{
94
92
unsigned long sp = regs -> sp ;
@@ -209,9 +207,6 @@ static noinstr struct ghcb *__sev_get_ghcb(struct ghcb_state *state)
209
207
return ghcb ;
210
208
}
211
209
212
- /* Needed in vc_early_forward_exception */
213
- void do_early_exception (struct pt_regs * regs , int trapnr );
214
-
215
210
static inline u64 sev_es_rd_ghcb_msr (void )
216
211
{
217
212
return __rdmsr (MSR_AMD64_SEV_ES_GHCB );
You can’t perform that action at this time.
0 commit comments