Module Name:    src
Committed By:   riastradh
Date:           Sat Feb 25 18:04:25 UTC 2023

Modified Files:
        src/sys/arch/x86/x86: fpu.c

Log Message:
x86: Label boolean is_64bit argument to fpu_area_restore.

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/sys/arch/x86/x86/fpu.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/x86/fpu.c
diff -u src/sys/arch/x86/x86/fpu.c:1.80 src/sys/arch/x86/x86/fpu.c:1.81
--- src/sys/arch/x86/x86/fpu.c:1.80	Sat Feb 25 13:57:37 2023
+++ src/sys/arch/x86/x86/fpu.c	Sat Feb 25 18:04:25 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: fpu.c,v 1.80 2023/02/25 13:57:37 riastradh Exp $	*/
+/*	$NetBSD: fpu.c,v 1.81 2023/02/25 18:04:25 riastradh Exp $	*/
 
 /*
  * Copyright (c) 2008, 2019 The NetBSD Foundation, Inc.  All
@@ -96,7 +96,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu.c,v 1.80 2023/02/25 13:57:37 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu.c,v 1.81 2023/02/25 18:04:25 riastradh Exp $");
 
 #include "opt_multiprocessor.h"
 
@@ -416,7 +416,7 @@ fpu_kern_enter(void)
 	/*
 	 * Zero the FPU registers and install safe control words.
 	 */
-	fpu_area_restore(&safe_fpu, x86_xsave_features, false);
+	fpu_area_restore(&safe_fpu, x86_xsave_features, /*is_64bit*/false);
 }
 
 /*
@@ -446,7 +446,7 @@ fpu_kern_leave(void)
 	 * through Spectre-class attacks to userland, even if there are
 	 * no bugs in fpu state management.
 	 */
-	fpu_area_restore(&zero_fpu, x86_xsave_features, false);
+	fpu_area_restore(&zero_fpu, x86_xsave_features, /*is_64bit*/false);
 
 	/*
 	 * Set CR0_TS again so that the kernel can't accidentally use

Reply via email to