diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-12-21 14:56:25 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-12-21 14:56:25 +0000 |
commit | b45bcd941aeed9f9b5bca41338e52b47d57e7e43 (patch) | |
tree | 5a85ea83bfba94610d95b7c92196ee879e6dc6b6 /sys/arch/hppa64 | |
parent | 1a7fe0231942d0e57909a2e6458fbcd0d2a5a8e0 (diff) |
Convert netisr to a normal soft interrupt instead of hanving MD code
for it. This makes the netisr a real C function which will help further
development. No noticable performance change on i386 and amd64.
With input from kettenis@ and miod@ additional OKs mikeb@ and henning@
Diffstat (limited to 'sys/arch/hppa64')
-rw-r--r-- | sys/arch/hppa64/hppa64/locore.S | 6 | ||||
-rw-r--r-- | sys/arch/hppa64/hppa64/trap.c | 4 | ||||
-rw-r--r-- | sys/arch/hppa64/include/cpu.h | 5 |
3 files changed, 3 insertions, 12 deletions
diff --git a/sys/arch/hppa64/hppa64/locore.S b/sys/arch/hppa64/hppa64/locore.S index 316720017db..39b7d679eb6 100644 --- a/sys/arch/hppa64/hppa64/locore.S +++ b/sys/arch/hppa64/hppa64/locore.S @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.S,v 1.10 2010/08/18 21:01:14 jasper Exp $ */ +/* $OpenBSD: locore.S,v 1.11 2010/12/21 14:56:23 claudio Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -44,10 +44,6 @@ .data - .export netisr, data - .align 16 -netisr - .word 0 .align 16 $kpsl .word PSL_W | PSL_Q | PSL_P | PSL_C | PSL_D | PSL_S | PSL_O diff --git a/sys/arch/hppa64/hppa64/trap.c b/sys/arch/hppa64/hppa64/trap.c index c39dc52feff..02cdc09cc05 100644 --- a/sys/arch/hppa64/hppa64/trap.c +++ b/sys/arch/hppa64/hppa64/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.11 2010/11/27 19:57:23 miod Exp $ */ +/* $OpenBSD: trap.c,v 1.12 2010/12/21 14:56:23 claudio Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -27,8 +27,6 @@ #include <sys/signalvar.h> #include <sys/user.h> -#include <net/netisr.h> - #include "systrace.h" #include <dev/systrace.h> diff --git a/sys/arch/hppa64/include/cpu.h b/sys/arch/hppa64/include/cpu.h index 41da51b3fdf..88b5d46be49 100644 --- a/sys/arch/hppa64/include/cpu.h +++ b/sys/arch/hppa64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.18 2010/09/28 20:27:54 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.19 2010/12/21 14:56:23 claudio Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -110,9 +110,6 @@ #define splx(c) spllower(c) #define setsoftast() (astpending = 1) -#define setsoftclock() /* TODO */ -#define setsoftnet() /* TODO */ -#define setsofttty() /* TODO */ #ifndef _LOCORE #include <sys/time.h> |