summaryrefslogtreecommitdiff
path: root/sys/net/netisr.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/netisr.h')
-rw-r--r--sys/net/netisr.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/sys/net/netisr.h b/sys/net/netisr.h
index e2e465379d3f..03c5288d8d2d 100644
--- a/sys/net/netisr.h
+++ b/sys/net/netisr.h
@@ -61,27 +61,8 @@
#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) {\
- if(netisr == 0) { \
- softem++; \
- } \
- netisr |= 1<<(anisr); \
-}
-#ifndef LOCORE
-#ifdef KERNEL
-int softem;
-#endif
-#endif
-#endif /* i386 */
-
#ifndef LOCORE
#ifdef KERNEL
-int netisr; /* scheduling bits for network */
+volatile unsigned int netisr; /* scheduling bits for network */
#endif
#endif