1. Remove a rather strangely gratuitous bit of profanity
[unix-history] / sys / net / netisr.h
index 1870961..22708fb 100644 (file)
@@ -31,7 +31,7 @@
  * SUCH DAMAGE.
  *
  *     from: @(#)netisr.h      7.8 (Berkeley) 5/7/91
  * SUCH DAMAGE.
  *
  *     from: @(#)netisr.h      7.8 (Berkeley) 5/7/91
- *     $Id: netisr.h,v 1.4 1993/11/13 02:25:37 davidg Exp $
+ *     $Id: netisr.h,v 1.5 1993/12/20 14:58:31 wollman Exp $
  */
 
 #ifndef _NET_NETISR_H_
  */
 
 #ifndef _NET_NETISR_H_
 
 #define        schednetisr(anisr)      { netisr |= 1<<(anisr); setsoftnet(); }
 
 
 #define        schednetisr(anisr)      { netisr |= 1<<(anisr); setsoftnet(); }
 
-#ifdef i386
-/* XXX Temporary -- soon to vanish - wfj */
-#define        NETISR_SCLK     11              /* softclock */
-#define        NETISR_AST      12              /* ast -- resched */
-
-#undef schednetisr
-#define        schednetisr(anisr)      {\
-       netisr |= 1<<(anisr); \
-}
-#endif /* i386 */
-
 #ifndef LOCORE
 #ifdef KERNEL
 #ifndef LOCORE
 #ifdef KERNEL
-extern int     netisr;         /* scheduling bits for network */
+extern volatile unsigned netisr;       /* scheduling bits for network */
 #endif
 #endif
 #endif /* _NET_NETISR_H_ */
 #endif
 #endif
 #endif /* _NET_NETISR_H_ */