Skip to content

Commit

Permalink
Fix panic from Intel CPU vulnerability mitigation.
Browse files Browse the repository at this point in the history
Approved by:	so
Security:	FreeBSD-EN-19:13.mds
  • Loading branch information
tetlowgm authored and fichtner committed Aug 1, 2019
1 parent 815f865 commit dbd8a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/x86/x86/cpu_machdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,6 @@ int hw_mds_disable;
* architectural state except possibly %rflags. Also, it is always
* called with interrupts disabled.
*/
void (*mds_handler)(void);
void mds_handler_void(void);
void mds_handler_verw(void);
void mds_handler_ivb(void);
Expand All @@ -955,6 +954,7 @@ void mds_handler_skl_sse(void);
void mds_handler_skl_avx(void);
void mds_handler_skl_avx512(void);
void mds_handler_silvermont(void);
void (*mds_handler)(void) = mds_handler_void;

static int
sysctl_hw_mds_disable_state_handler(SYSCTL_HANDLER_ARGS)
Expand Down

0 comments on commit dbd8a69

Please sign in to comment.