svn commit: r366415 - in head/sys: amd64/include x86/include

Konstantin Belousov kib at FreeBSD.org
Sat Oct 3 23:07:10 UTC 2020


Author: kib
Date: Sat Oct  3 23:07:09 2020
New Revision: 366415
URL: https://svnweb.freebsd.org/changeset/base/366415

Log:
  Move ctx_switch_xsave declaration to amd64 md_var.h.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	3 days

Modified:
  head/sys/amd64/include/md_var.h
  head/sys/x86/include/x86_var.h

Modified: head/sys/amd64/include/md_var.h
==============================================================================
--- head/sys/amd64/include/md_var.h	Sat Oct  3 19:10:54 2020	(r366414)
+++ head/sys/amd64/include/md_var.h	Sat Oct  3 23:07:09 2020	(r366415)
@@ -36,6 +36,7 @@
 
 #include <x86/x86_var.h>
 
+extern char	ctx_switch_xsave[];
 extern int	hw_lower_amd64_sharedpage;
 extern int	hw_ibrs_disable;
 extern int	hw_ssb_disable;

Modified: head/sys/x86/include/x86_var.h
==============================================================================
--- head/sys/x86/include/x86_var.h	Sat Oct  3 19:10:54 2020	(r366414)
+++ head/sys/x86/include/x86_var.h	Sat Oct  3 23:07:09 2020	(r366415)
@@ -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[];


More information about the svn-src-head mailing list