Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/include setsoftint() is no longer used.



details:   https://anonhg.NetBSD.org/src/rev/de5fa69a7cba
branches:  trunk
changeset: 540318:de5fa69a7cba
user:      pk <pk%NetBSD.org@localhost>
date:      Mon Dec 09 16:13:58 2002 +0000

description:
setsoftint() is no longer used.

diffstat:

 sys/arch/sparc/include/cpu.h |  13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diffs (27 lines):

diff -r c2c0b5851609 -r de5fa69a7cba sys/arch/sparc/include/cpu.h
--- a/sys/arch/sparc/include/cpu.h      Mon Dec 09 16:13:23 2002 +0000
+++ b/sys/arch/sparc/include/cpu.h      Mon Dec 09 16:13:58 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.52 2002/12/06 16:04:12 pk Exp $ */
+/*     $NetBSD: cpu.h,v 1.53 2002/12/09 16:13:58 pk Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -125,17 +125,6 @@
 #define        CLKF_INTR(framep)       ((framep)->fp < (u_int)eintstack)
 #endif
 
-#if defined(SUN4M)
-extern void    raise __P((int, int));
-#if !(defined(SUN4) || defined(SUN4C))
-#define setsoftint()   raise(0,1)
-#else /* both defined */
-#define setsoftint()   (cputyp == CPU_SUN4M ? raise(0,1) : ienab_bis(IE_L1))
-#endif /* !4,!4c */
-#else  /* 4m not defined */
-#define setsoftint()   ienab_bis(IE_L1)
-#endif /* SUN4M */
-
 void   softintr_init __P((void));
 void   *softnet_cookie;
 



Home | Main Index | Thread Index | Old Index