Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Extend the #ifdef M68040 so that the `sig' variable...



details:   https://anonhg.NetBSD.org/src/rev/0545827b83b9
branches:  trunk
changeset: 554838:0545827b83b9
user:      cl <cl%NetBSD.org@localhost>
date:      Sun Nov 02 16:49:38 2003 +0000

description:
Extend the #ifdef M68040 so that the `sig' variable declaration is moved
in as well, as it's otherwise not used. (from atari/atari/trap.c and
x68k/x68k/trap.c)

diffstat:

 sys/arch/cesfic/cesfic/trap.c   |  6 +++---
 sys/arch/hp300/hp300/trap.c     |  6 +++---
 sys/arch/luna68k/luna68k/trap.c |  6 +++---
 sys/arch/mac68k/mac68k/trap.c   |  6 +++---
 sys/arch/mvme68k/mvme68k/trap.c |  6 +++---
 sys/arch/news68k/news68k/trap.c |  6 +++---
 sys/arch/next68k/next68k/trap.c |  6 +++---
 7 files changed, 21 insertions(+), 21 deletions(-)

diffs (196 lines):

diff -r 1a74e0959729 -r 0545827b83b9 sys/arch/cesfic/cesfic/trap.c
--- a/sys/arch/cesfic/cesfic/trap.c     Sun Nov 02 16:42:22 2003 +0000
+++ b/sys/arch/cesfic/cesfic/trap.c     Sun Nov 02 16:49:38 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.16 2003/10/31 16:44:35 cl Exp $     */
+/*     $NetBSD: trap.c,v 1.17 2003/11/02 16:49:38 cl Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.16 2003/10/31 16:44:35 cl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.17 2003/11/02 16:49:38 cl Exp $");
 
 #include "opt_ddb.h"
 #include "opt_execfmt.h"
@@ -235,8 +235,8 @@
        int fromtrap;
 {
        struct proc *p = l->l_proc;
+#ifdef M68040
        int sig;
-#ifdef M68040
        int beenhere = 0;
 
 again:
diff -r 1a74e0959729 -r 0545827b83b9 sys/arch/hp300/hp300/trap.c
--- a/sys/arch/hp300/hp300/trap.c       Sun Nov 02 16:42:22 2003 +0000
+++ b/sys/arch/hp300/hp300/trap.c       Sun Nov 02 16:49:38 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.105 2003/10/31 16:44:35 cl Exp $    */
+/*     $NetBSD: trap.c,v 1.106 2003/11/02 16:49:38 cl Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.105 2003/10/31 16:44:35 cl Exp $");                                                  
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.106 2003/11/02 16:49:38 cl Exp $");                                                  
 
 #include "opt_ddb.h"
 #include "opt_execfmt.h"
@@ -227,8 +227,8 @@
        int fromtrap;
 {
        struct proc *p = l->l_proc;
+#ifdef M68040
        int sig;
-#ifdef M68040
        int beenhere = 0;
 
 again:
diff -r 1a74e0959729 -r 0545827b83b9 sys/arch/luna68k/luna68k/trap.c
--- a/sys/arch/luna68k/luna68k/trap.c   Sun Nov 02 16:42:22 2003 +0000
+++ b/sys/arch/luna68k/luna68k/trap.c   Sun Nov 02 16:49:38 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.27 2003/10/31 16:44:35 cl Exp $ */
+/* $NetBSD: trap.c,v 1.28 2003/11/02 16:49:38 cl Exp $ */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -78,7 +78,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.27 2003/10/31 16:44:35 cl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.28 2003/11/02 16:49:38 cl Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -193,8 +193,8 @@
        int fromtrap;
 {
        struct proc *p = l->l_proc;
+#ifdef M68040
        int sig;
-#ifdef M68040
        int beenhere = 0;
 
 again:
diff -r 1a74e0959729 -r 0545827b83b9 sys/arch/mac68k/mac68k/trap.c
--- a/sys/arch/mac68k/mac68k/trap.c     Sun Nov 02 16:42:22 2003 +0000
+++ b/sys/arch/mac68k/mac68k/trap.c     Sun Nov 02 16:49:38 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.108 2003/10/31 16:44:35 cl Exp $    */
+/*     $NetBSD: trap.c,v 1.109 2003/11/02 16:49:38 cl Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.108 2003/10/31 16:44:35 cl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.109 2003/11/02 16:49:38 cl Exp $");
 
 #include "opt_ddb.h"
 #include "opt_execfmt.h"
@@ -209,8 +209,8 @@
        int fromtrap;
 {
        struct proc *p = l->l_proc;
+#if defined(M68040)
        int sig;
-#if defined(M68040)
        int beenhere = 0;
 
 again:
diff -r 1a74e0959729 -r 0545827b83b9 sys/arch/mvme68k/mvme68k/trap.c
--- a/sys/arch/mvme68k/mvme68k/trap.c   Sun Nov 02 16:42:22 2003 +0000
+++ b/sys/arch/mvme68k/mvme68k/trap.c   Sun Nov 02 16:49:38 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.71 2003/10/31 16:44:35 cl Exp $     */
+/*     $NetBSD: trap.c,v 1.72 2003/11/02 16:49:38 cl Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.71 2003/10/31 16:44:35 cl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.72 2003/11/02 16:49:38 cl Exp $");
 
 #include "opt_ddb.h"
 #include "opt_execfmt.h"
@@ -241,8 +241,8 @@
        int fromtrap;
 {
        struct proc *p = l->l_proc;
+#ifdef M68040
        int sig;
-#ifdef M68040
        int beenhere = 0;
 
 again:
diff -r 1a74e0959729 -r 0545827b83b9 sys/arch/news68k/news68k/trap.c
--- a/sys/arch/news68k/news68k/trap.c   Sun Nov 02 16:42:22 2003 +0000
+++ b/sys/arch/news68k/news68k/trap.c   Sun Nov 02 16:49:38 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.33 2003/10/31 16:44:35 cl Exp $     */
+/*     $NetBSD: trap.c,v 1.34 2003/11/02 16:49:38 cl Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -77,7 +77,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.33 2003/10/31 16:44:35 cl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.34 2003/11/02 16:49:38 cl Exp $");
 
 #include "opt_ddb.h"
 #include "opt_execfmt.h"
@@ -217,8 +217,8 @@
        int fromtrap;
 {
        struct proc *p = l->l_proc;
+#ifdef M68040
        int sig;
-#ifdef M68040
        int beenhere = 0;
 
 again:
diff -r 1a74e0959729 -r 0545827b83b9 sys/arch/next68k/next68k/trap.c
--- a/sys/arch/next68k/next68k/trap.c   Sun Nov 02 16:42:22 2003 +0000
+++ b/sys/arch/next68k/next68k/trap.c   Sun Nov 02 16:49:38 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.47 2003/10/31 16:44:35 cl Exp $     */
+/*     $NetBSD: trap.c,v 1.48 2003/11/02 16:49:38 cl Exp $     */
 
 /*
  * This file was taken from mvme68k/mvme68k/trap.c
@@ -84,7 +84,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.47 2003/10/31 16:44:35 cl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.48 2003/11/02 16:49:38 cl Exp $");
 
 #include "opt_ddb.h"
 #include "opt_execfmt.h"
@@ -241,8 +241,8 @@
        int fromtrap;
 {
        struct proc *p = l->l_proc;
+#ifdef M68040
        int sig;
-#ifdef M68040
        int beenhere = 0;
 
 again:



Home | Main Index | Thread Index | Old Index