From 74a51bbe7624a3e454ae5a3636148f81c31fd5f8 Mon Sep 17 00:00:00 2001 From: kib Date: Sat, 3 Oct 2020 23:07:09 +0000 Subject: [PATCH] Move ctx_switch_xsave declaration to amd64 md_var.h. Sponsored by: The FreeBSD Foundation MFC after: 3 days --- sys/amd64/include/md_var.h | 1 + sys/x86/include/x86_var.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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[]; -- 2.45.0