aboutsummaryrefslogtreecommitdiff
path: root/sys/x86
diff options
context:
space:
mode:
authorDmitry Chagin <dchagin@FreeBSD.org>2023-02-01 15:17:06 +0000
committerDmitry Chagin <dchagin@FreeBSD.org>2023-02-09 07:54:16 +0000
commit68c2bb67fec2c4838c254fe562a17d8a5c7278f7 (patch)
tree38cb700cb7809f0577c04ca97c771a143dad7fc0 /sys/x86
parent87271de92c4a69cfe92656c16bbef467e60b8c3b (diff)
amd64: Eliminate write only cpu_fxsr.
Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D38289 MFC after: 1 week (cherry picked from commit 5c32146723ef88b07506c081653898cd2f293a52)
Diffstat (limited to 'sys/x86')
-rw-r--r--sys/x86/include/x86_var.h1
-rw-r--r--sys/x86/x86/identcpu.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/x86/include/x86_var.h b/sys/x86/include/x86_var.h
index 756849cbe028..8829543f98a1 100644
--- a/sys/x86/include/x86_var.h
+++ b/sys/x86/include/x86_var.h
@@ -53,7 +53,6 @@ extern u_int cpu_stdext_feature;
extern u_int cpu_stdext_feature2;
extern u_int cpu_stdext_feature3;
extern uint64_t cpu_ia32_arch_caps;
-extern u_int cpu_fxsr;
extern u_int cpu_high;
extern u_int cpu_id;
extern u_int cpu_max_ext_state_size;
diff --git a/sys/x86/x86/identcpu.c b/sys/x86/x86/identcpu.c
index 263e05dcf0ae..e608fdb5f20d 100644
--- a/sys/x86/x86/identcpu.c
+++ b/sys/x86/x86/identcpu.c
@@ -106,7 +106,6 @@ u_int cpu_procinfo; /* HyperThreading Info / Brand Index / CLFUSH */
u_int cpu_procinfo2; /* Multicore info */
char cpu_vendor[20]; /* CPU Origin code */
u_int cpu_vendor_id; /* CPU vendor ID */
-u_int cpu_fxsr; /* SSE enabled */
u_int cpu_mxcsr_mask; /* Valid bits in mxcsr */
u_int cpu_clflush_line_size = 32;
u_int cpu_stdext_feature; /* %ebx */