Module Name: src
Committed By: maxv
Date: Tue Nov 5 20:21:34 UTC 2019
Modified Files:
src/sys/arch/x86/acpi: acpi_cpu_md.c
Log Message:
Add the __nocsan attribute on this function. Races on ci_want_resched are
accepted (part of the design).
To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 src/sys/arch/x86/acpi/acpi_cpu_md.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/acpi/acpi_cpu_md.c
diff -u src/sys/arch/x86/acpi/acpi_cpu_md.c:1.80 src/sys/arch/x86/acpi/acpi_cpu_md.c:1.81
--- src/sys/arch/x86/acpi/acpi_cpu_md.c:1.80 Sun Oct 6 15:11:17 2019
+++ src/sys/arch/x86/acpi/acpi_cpu_md.c Tue Nov 5 20:21:34 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_md.c,v 1.80 2019/10/06 15:11:17 uwe Exp $ */
+/* $NetBSD: acpi_cpu_md.c,v 1.81 2019/11/05 20:21:34 maxv Exp $ */
/*-
* Copyright (c) 2010, 2011 Jukka Ruohonen <[email protected]>
@@ -27,7 +27,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_md.c,v 1.80 2019/10/06 15:11:17 uwe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_md.c,v 1.81 2019/11/05 20:21:34 maxv Exp $");
#include <sys/param.h>
#include <sys/bus.h>
@@ -400,7 +400,7 @@ acpicpu_md_cstate_stop(void)
/*
* Called with interrupts enabled.
*/
-void
+void __nocsan
acpicpu_md_cstate_enter(int method, int state)
{
struct cpu_info *ci = curcpu();