Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/at91 More -fno-common fixes



details:   https://anonhg.NetBSD.org/src/rev/fd76d2e19723
branches:  trunk
changeset: 780606:fd76d2e19723
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Jul 30 23:35:27 2012 +0000

description:
More -fno-common fixes

diffstat:

 sys/arch/arm/at91/at91bus.c          |  14 ++------------
 sys/arch/arm/at91/at91rm9200busvar.h |   6 +++---
 2 files changed, 5 insertions(+), 15 deletions(-)

diffs (58 lines):

diff -r 25eb89dc1556 -r fd76d2e19723 sys/arch/arm/at91/at91bus.c
--- a/sys/arch/arm/at91/at91bus.c       Mon Jul 30 23:35:05 2012 +0000
+++ b/sys/arch/arm/at91/at91bus.c       Mon Jul 30 23:35:27 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: at91bus.c,v 1.12 2011/11/04 17:20:54 aymeric Exp $     */
+/*     $NetBSD: at91bus.c,v 1.13 2012/07/30 23:35:27 matt Exp $        */
 
 /*
  * Copyright (c) 2007 Embedtronics Oy
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: at91bus.c,v 1.12 2011/11/04 17:20:54 aymeric Exp $");
+__KERNEL_RCSID(0, "$NetBSD: at91bus.c,v 1.13 2012/07/30 23:35:27 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -108,20 +108,10 @@
 vm_offset_t physical_end;
 u_int free_pages;
 
-/* Physical and virtual addresses for some global pages */
-pv_addr_t irqstack;
-pv_addr_t undstack;
-pv_addr_t abtstack;
-pv_addr_t kernelstack;
-
 vm_offset_t msgbufphys;
 
 //static struct arm32_dma_range dma_ranges[4];
 
-extern u_int data_abort_handler_address;
-extern u_int prefetch_abort_handler_address;
-extern u_int undefined_handler_address;
-
 #ifdef PMAP_DEBUG
 extern int pmap_debug_level;
 #endif
diff -r 25eb89dc1556 -r fd76d2e19723 sys/arch/arm/at91/at91rm9200busvar.h
--- a/sys/arch/arm/at91/at91rm9200busvar.h      Mon Jul 30 23:35:05 2012 +0000
+++ b/sys/arch/arm/at91/at91rm9200busvar.h      Mon Jul 30 23:35:27 2012 +0000
@@ -1,5 +1,5 @@
-/*     $Id: at91rm9200busvar.h,v 1.3 2009/10/23 06:53:13 snj Exp $     */
-/*     $NetBSD: at91rm9200busvar.h,v 1.3 2009/10/23 06:53:13 snj Exp $ */
+/*     $Id: at91rm9200busvar.h,v 1.4 2012/07/30 23:35:28 matt Exp $    */
+/*     $NetBSD: at91rm9200busvar.h,v 1.4 2012/07/30 23:35:28 matt Exp $ */
 
 /*
  * Copyright (c) 2007 Embedtronics Oy
@@ -57,6 +57,6 @@
 void at91rm9200bus_search_peripherals(device_t self,
                                   device_t (*found_func)(device_t, bus_addr_t, int));
 
-const struct at91bus_machdep at91rm9200bus;
+extern const struct at91bus_machdep at91rm9200bus;
 
 #endif // _AT91RM9200BUSVAR_H_



Home | Main Index | Thread Index | Old Index