summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-10-02 23:13:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-10-02 23:13:29 +0000
commite4c712a2cec00ef7458522288fab74ddd6a3abd6 (patch)
tree8ed9079180ea6674fc04deaac891941a446ca9ac /sys/arch/i386
parent85406bd452337bcaadb8d31587b28439447dc36f (diff)
make ci_flags volatile; some future MD code will depend on this.
ok kettenis
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/include/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/cpu.h b/sys/arch/i386/include/cpu.h
index 65f69dfcdd0..77a060fdf71 100644
--- a/sys/arch/i386/include/cpu.h
+++ b/sys/arch/i386/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.116 2010/09/28 20:27:54 miod Exp $ */
+/* $OpenBSD: cpu.h,v 1.117 2010/10/02 23:13:28 deraadt Exp $ */
/* $NetBSD: cpu.h,v 1.35 1996/05/05 19:29:26 christos Exp $ */
/*-
@@ -111,7 +111,7 @@ struct cpu_info {
#endif
paddr_t ci_idle_pcb_paddr; /* PA of idle PCB */
- u_long ci_flags; /* flags; see below */
+ volatile u_long ci_flags; /* flags; see below */
u_int32_t ci_ipis; /* interprocessor interrupts pending */
int sc_apic_version;/* local APIC version */