Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha Silence gcc 4.8
details: https://anonhg.NetBSD.org/src/rev/a3ac262aaca5
branches: trunk
changeset: 325320:a3ac262aaca5
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Dec 18 12:43:59 2013 +0000
description:
Silence gcc 4.8
diffstat:
sys/arch/alpha/conf/GENERIC | 6 +++---
sys/arch/alpha/pci/pci_1000.c | 6 +++---
sys/arch/alpha/pci/pci_1000a.c | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (81 lines):
diff -r 7d8fc7b45987 -r a3ac262aaca5 sys/arch/alpha/conf/GENERIC
--- a/sys/arch/alpha/conf/GENERIC Wed Dec 18 11:53:17 2013 +0000
+++ b/sys/arch/alpha/conf/GENERIC Wed Dec 18 12:43:59 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.354 2013/10/15 19:27:48 jdc Exp $
+# $NetBSD: GENERIC,v 1.355 2013/12/18 12:43:59 skrll Exp $
#
# This machine description file is used to generate the default NetBSD
# kernel.
@@ -19,7 +19,7 @@
options INCLUDE_CONFIG_FILE # embed config file in kernel binary
-ident "GENERIC-$Revision: 1.354 $"
+ident "GENERIC-$Revision: 1.355 $"
maxusers 32
@@ -59,7 +59,7 @@
#options KMEMSTATS # Collect kmem usage statistics
options DDB # kernel debugger
options DDB_HISTORY_SIZE=512 # enable history editing in DDB
-#makeoptions DEBUG="-g"
+makeoptions DEBUG="-g"
#makeoptions DEBUGLIST="pattern1 pattern2 ..."
#options KGDB # Remote kernel GDB support
diff -r 7d8fc7b45987 -r a3ac262aaca5 sys/arch/alpha/pci/pci_1000.c
--- a/sys/arch/alpha/pci/pci_1000.c Wed Dec 18 11:53:17 2013 +0000
+++ b/sys/arch/alpha/pci/pci_1000.c Wed Dec 18 12:43:59 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_1000.c,v 1.24 2012/02/06 02:14:14 matt Exp $ */
+/* $NetBSD: pci_1000.c,v 1.25 2013/12/18 12:43:59 skrll Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: pci_1000.c,v 1.24 2012/02/06 02:14:14 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_1000.c,v 1.25 2013/12/18 12:43:59 skrll Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -149,7 +149,7 @@
pcitag_t bustag = pa->pa_intrtag;
int buspin = pa->pa_intrpin;
pci_chipset_tag_t pc = pa->pa_pc;
- int device;
+ int device = 0; /* XXX gcc */
if (buspin == 0) /* No IRQ used. */
return 1;
diff -r 7d8fc7b45987 -r a3ac262aaca5 sys/arch/alpha/pci/pci_1000a.c
--- a/sys/arch/alpha/pci/pci_1000a.c Wed Dec 18 11:53:17 2013 +0000
+++ b/sys/arch/alpha/pci/pci_1000a.c Wed Dec 18 12:43:59 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pci_1000a.c,v 1.26 2012/02/06 02:14:15 matt Exp $ */
+/* $NetBSD: pci_1000a.c,v 1.27 2013/12/18 12:43:59 skrll Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: pci_1000a.c,v 1.26 2012/02/06 02:14:15 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_1000a.c,v 1.27 2013/12/18 12:43:59 skrll Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -153,7 +153,7 @@
pcitag_t bustag = pa->pa_intrtag;
int buspin = pa->pa_intrpin;
pci_chipset_tag_t pc = pa->pa_pc;
- int imrbit, device;
+ int imrbit, device = 0; /* XXX gcc */
/*
* Get bit number in mystery ICU imr
*/
Home |
Main Index |
Thread Index |
Old Index