Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/arch/x86/x86 Pull up following revision(s) (requested...



details:   https://anonhg.NetBSD.org/src/rev/a7088e9bc9e1
branches:  netbsd-8
changeset: 850949:a7088e9bc9e1
user:      snj <snj%NetBSD.org@localhost>
date:      Fri Aug 25 05:42:55 2017 +0000

description:
Pull up following revision(s) (requested by jdolecek in ticket #225):
        sys/arch/x86/x86/pmc.c: revision 1.11
Fix GCC warning on NET4501, PR/52451.

diffstat:

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

diffs (27 lines):

diff -r 1b9622983e0b -r a7088e9bc9e1 sys/arch/x86/x86/pmc.c
--- a/sys/arch/x86/x86/pmc.c    Fri Aug 25 05:41:55 2017 +0000
+++ b/sys/arch/x86/x86/pmc.c    Fri Aug 25 05:42:55 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmc.c,v 1.7.2.1 2017/08/01 23:18:30 snj Exp $  */
+/*     $NetBSD: pmc.c,v 1.7.2.2 2017/08/25 05:42:55 snj Exp $  */
 
 /*
  * Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -73,7 +73,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmc.c,v 1.7.2.1 2017/08/01 23:18:30 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmc.c,v 1.7.2.2 2017/08/25 05:42:55 snj Exp $");
 
 #include "opt_pmc.h"
 
@@ -138,7 +138,7 @@
 pmc_nmi(const struct trapframe *tf, void *dummy)
 {
        struct cpu_info *ci = curcpu();
-       pmc_state_t *pmc;
+       pmc_state_t *pmc = NULL;
        pmc_cpu_t *cpu;
        uint64_t ctr;
        size_t i;



Home | Main Index | Thread Index | Old Index