Module Name: src Committed By: kre Date: Wed May 31 14:37:19 UTC 2017
Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: Revert previous. Removing unused variable declarations is only a good idea when the variable is, in fact, unused. To generate a diff of this commit: cvs rdiff -u -r1.128 -r1.129 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.128 src/sys/arch/x86/x86/cpu.c:1.129 --- src/sys/arch/x86/x86/cpu.c:1.128 Wed May 31 10:15:18 2017 +++ src/sys/arch/x86/x86/cpu.c Wed May 31 14:37:19 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: cpu.c,v 1.128 2017/05/31 10:15:18 pgoyette Exp $ */ +/* $NetBSD: cpu.c,v 1.129 2017/05/31 14:37:19 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.128 2017/05/31 10:15:18 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.129 2017/05/31 14:37:19 kre Exp $"); #include "opt_ddb.h" #include "opt_mpbios.h" /* for MPDEBUG */ @@ -802,6 +802,7 @@ cpu_hatch(void *v) { struct cpu_info *ci = (struct cpu_info *)v; struct pcb *pcb; + int s; cpu_init_msrs(ci, true); cpu_probe(ci);