diff --git a/sys/amd64/include/md_var.h b/sys/amd64/include/md_var.h index 7169474b31d..adef2a9c521 100644 --- a/sys/amd64/include/md_var.h +++ b/sys/amd64/include/md_var.h @@ -36,6 +36,7 @@ #include +extern char ctx_switch_xsave[]; extern int hw_lower_amd64_sharedpage; extern int hw_ibrs_disable; extern int hw_ssb_disable; diff --git a/sys/x86/include/x86_var.h b/sys/x86/include/x86_var.h index a1ce8f9e311..f64fd5539b9 100644 --- a/sys/x86/include/x86_var.h +++ b/sys/x86/include/x86_var.h @@ -71,7 +71,6 @@ extern u_int cpu_power_eax; extern u_int cpu_power_ebx; extern u_int cpu_power_ecx; extern u_int cpu_power_edx; -extern char ctx_switch_xsave[]; extern u_int hv_base; extern u_int hv_high; extern char hv_vendor[];