Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include/booke Fix -fno-common fallout.



details:   https://anonhg.NetBSD.org/src/rev/4b2518f01bd3
branches:  trunk
changeset: 780522:4b2518f01bd3
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jul 27 22:24:13 2012 +0000

description:
Fix -fno-common fallout.

diffstat:

 sys/arch/powerpc/include/booke/cpuvar.h  |  4 ++--
 sys/arch/powerpc/include/booke/e500var.h |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 26a1b1871eeb -r 4b2518f01bd3 sys/arch/powerpc/include/booke/cpuvar.h
--- a/sys/arch/powerpc/include/booke/cpuvar.h   Fri Jul 27 22:13:58 2012 +0000
+++ b/sys/arch/powerpc/include/booke/cpuvar.h   Fri Jul 27 22:24:13 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpuvar.h,v 1.12 2011/06/30 00:52:59 matt Exp $ */
+/*     $NetBSD: cpuvar.h,v 1.13 2012/07/27 22:24:13 matt Exp $ */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -157,7 +157,7 @@
 void   booke_sstep(struct trapframe *);
 
 void   booke_cpu_startup(const char *);        /* model name */
-struct powerpc_bus_dma_tag booke_bus_dma_tag;
+extern struct powerpc_bus_dma_tag booke_bus_dma_tag;
 
 extern struct cpu_info cpu_info[];
 #ifdef MULTIPROCESSOR
diff -r 26a1b1871eeb -r 4b2518f01bd3 sys/arch/powerpc/include/booke/e500var.h
--- a/sys/arch/powerpc/include/booke/e500var.h  Fri Jul 27 22:13:58 2012 +0000
+++ b/sys/arch/powerpc/include/booke/e500var.h  Fri Jul 27 22:24:13 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: e500var.h,v 1.5 2012/03/29 15:45:06 matt Exp $ */
+/*     $NetBSD: e500var.h,v 1.6 2012/07/27 22:24:13 matt Exp $ */
 /*-
  * Copyright (c) 2010, 2011 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -49,8 +49,8 @@
 #define        E500_CLOCK_TIMER        0       /* could be 0..3 */
 
 extern const struct intrsw e500_intrsw;
-struct extent *pcimem_ex;
-struct extent *pciio_ex;
+extern struct extent *pcimem_ex;
+extern struct extent *pciio_ex;
 void   e500_device_register(device_t, void *);
 int    e500_clock_intr(void *);
 void   e500_cpu_start(void);



Home | Main Index | Thread Index | Old Index