summaryrefslogtreecommitdiff
path: root/sys/net/netisr.h
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1994-05-25 09:21:21 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1994-05-25 09:21:21 +0000
commit26f9a76710a312a951848542b9ca1f44100450e2 (patch)
tree9179427ac860211c445df663fd2b86267366bfba /sys/net/netisr.h
parentdbda0ec78e324aced444959e2c98b89b79f22812 (diff)
downloadsrc-test2-26f9a76710a312a951848542b9ca1f44100450e2.tar.gz
src-test2-26f9a76710a312a951848542b9ca1f44100450e2.zip
Notes
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