summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include/cpu.h
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2012-04-04 18:44:23 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2012-04-04 18:44:23 +0000
commit7a286765e65095119b1fc6a4becd1c2f7ca506f4 (patch)
tree403714d720b32db73fcc87c8e01235a424c1b144 /sys/arch/amd64/include/cpu.h
parent7adf2d4b3ebcb53ca3991d7a205a49ac48c6b3a3 (diff)
Make sure that identifycpu() is run only once; fixes occasional
hangs on resume. Discussed with and ok kettenis, haesbaert
Diffstat (limited to 'sys/arch/amd64/include/cpu.h')
-rw-r--r--sys/arch/amd64/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/amd64/include/cpu.h b/sys/arch/amd64/include/cpu.h
index e3f5ff0dead..8b4e3dcb6e8 100644
--- a/sys/arch/amd64/include/cpu.h
+++ b/sys/arch/amd64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.71 2012/03/27 02:23:04 haesbaert Exp $ */
+/* $OpenBSD: cpu.h,v 1.72 2012/04/04 18:44:22 mikeb Exp $ */
/* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */
/*-
@@ -136,6 +136,7 @@ struct cpu_info {
#define CPUF_PRIMARY 0x0008 /* CPU is active primary processor */
#define CPUF_IDENTIFY 0x0010 /* CPU may now identify */
+#define CPUF_IDENTIFIED 0x0020 /* CPU has been identified */
#define CPUF_PRESENT 0x1000 /* CPU is present */
#define CPUF_RUNNING 0x2000 /* CPU is running */