Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips remove safepri declaration since it's def...



details:   https://anonhg.NetBSD.org/src/rev/3ba8df1f6573
branches:  trunk
changeset: 777753:3ba8df1f6573
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Mar 03 00:23:19 2012 +0000

description:
remove safepri declaration since it's defined in kern_synch.c

diffstat:

 sys/arch/mips/mips/mips_machdep.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (32 lines):

diff -r 390e4efcf87c -r 3ba8df1f6573 sys/arch/mips/mips/mips_machdep.c
--- a/sys/arch/mips/mips/mips_machdep.c Sat Mar 03 00:22:24 2012 +0000
+++ b/sys/arch/mips/mips/mips_machdep.c Sat Mar 03 00:23:19 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mips_machdep.c,v 1.253 2012/02/19 21:06:18 rmind Exp $ */
+/*     $NetBSD: mips_machdep.c,v 1.254 2012/03/03 00:23:19 matt Exp $  */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -112,7 +112,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.253 2012/02/19 21:06:18 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.254 2012/03/03 00:23:19 matt Exp $");
 
 #define __INTR_PRIVATE
 #include "opt_cputype.h"
@@ -203,13 +203,6 @@
 static void mips3_tlb_probe(void);
 #endif
 
-/*
- * safepri is a safe priority for sleepq to set for a spin-wait during
- * autoconfiguration or after a panic which will allows interrupts to
- * be delivered.  Used as an argument to splx().
- */
-int safepri = IPL_SOFTSERIAL;
-
 #if defined(MIPS1)
 static void    mips1_vector_init(const struct splsw *);
 extern const struct locoresw mips1_locoresw;



Home | Main Index | Thread Index | Old Index