From b45bcd941aeed9f9b5bca41338e52b47d57e7e43 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Tue, 21 Dec 2010 14:56:25 +0000 Subject: 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@ --- sys/arch/loongson/include/intr.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sys/arch/loongson/include/intr.h') diff --git a/sys/arch/loongson/include/intr.h b/sys/arch/loongson/include/intr.h index 31b07c61af7..95bed3bdd7a 100644 --- a/sys/arch/loongson/include/intr.h +++ b/sys/arch/loongson/include/intr.h @@ -1,4 +1,4 @@ -/* $OpenBSD: intr.h,v 1.2 2010/04/23 03:50:22 miod Exp $ */ +/* $OpenBSD: intr.h,v 1.3 2010/12/21 14:56:24 claudio Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -106,11 +106,6 @@ void *softintr_establish(int, void (*)(void *), void *); void softintr_init(void); void softintr_schedule(void *); -/* XXX For legacy software interrupts. */ -extern struct soft_intrhand *softnet_intrhand; - -#define setsoftnet() softintr_schedule(softnet_intrhand) - #define splsoft() splraise(IPL_SOFTINT) #define splbio() splraise(IPL_BIO) #define splnet() splraise(IPL_NET) -- cgit v1.2.3