Module Name: src
Committed By: riastradh
Date: Fri Jul 28 14:12:26 UTC 2017
Modified Files:
src/sys/arch/x86/x86: cpu.c
Log Message:
cpu_trace is no more, remove vestige of it that broke ALL kernel.
To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 src/sys/arch/x86/x86/cpu.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/cpu.c
diff -u src/sys/arch/x86/x86/cpu.c:1.131 src/sys/arch/x86/x86/cpu.c:1.132
--- src/sys/arch/x86/x86/cpu.c:1.131 Sat Jun 10 05:31:34 2017
+++ src/sys/arch/x86/x86/cpu.c Fri Jul 28 14:12:26 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.131 2017/06/10 05:31:34 pgoyette Exp $ */
+/* $NetBSD: cpu.c,v 1.132 2017/07/28 14:12:26 riastradh Exp $ */
/*-
* Copyright (c) 2000-2012 NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.131 2017/06/10 05:31:34 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.132 2017/07/28 14:12:26 riastradh Exp $");
#include "opt_ddb.h"
#include "opt_mpbios.h" /* for MPDEBUG */
@@ -724,15 +724,6 @@ cpu_start_secondary(struct cpu_info *ci)
KASSERT(cpu_starting == NULL);
cpu_starting = ci;
for (i = 100000; (!(ci->ci_flags & CPUF_PRESENT)) && i > 0; i--) {
-#ifdef MPDEBUG
- extern int cpu_trace[3];
- static int otrace[3];
- if (memcmp(otrace, cpu_trace, sizeof(otrace)) != 0) {
- aprint_debug_dev(ci->ci_dev, "trace %02x %02x %02x\n",
- cpu_trace[0], cpu_trace[1], cpu_trace[2]);
- memcpy(otrace, cpu_trace, sizeof(otrace));
- }
-#endif
i8254_delay(10);
}