Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 And now do what 1.128 should have done, and...



details:   https://anonhg.NetBSD.org/src/rev/e6f89ab1d0fd
branches:  trunk
changeset: 354006:e6f89ab1d0fd
user:      kre <kre%NetBSD.org@localhost>
date:      Wed May 31 14:41:07 2017 +0000

description:
And now do what 1.128 should have done, and put back the (now re-)used
variable that had earlier been deleted, when it's use was removed in
1.126, but wasn't restored in 1.127.

diffstat:

 sys/arch/x86/x86/cpu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9f08b5535bb3 -r e6f89ab1d0fd sys/arch/x86/x86/cpu.c
--- a/sys/arch/x86/x86/cpu.c    Wed May 31 14:37:19 2017 +0000
+++ b/sys/arch/x86/x86/cpu.c    Wed May 31 14:41:07 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.c,v 1.129 2017/05/31 14:37:19 kre Exp $    */
+/*     $NetBSD: cpu.c,v 1.130 2017/05/31 14:41:07 kre Exp $    */
 
 /*-
  * Copyright (c) 2000-2012 NetBSD Foundation, Inc.
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.129 2017/05/31 14:37:19 kre Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.130 2017/05/31 14:41:07 kre Exp $");
 
 #include "opt_ddb.h"
 #include "opt_mpbios.h"                /* for MPDEBUG */
@@ -802,7 +802,7 @@
 {
        struct cpu_info *ci = (struct cpu_info *)v;
        struct pcb *pcb;
-       int s;
+       int s, i;
 
        cpu_init_msrs(ci, true);
        cpu_probe(ci);



Home | Main Index | Thread Index | Old Index