summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-11 19:21:17 +0000
committerbde <bde@FreeBSD.org>1998-08-11 19:21:17 +0000
commitd7bdb145cfc123b3f9b5d3ba3ead111dfc83a31c (patch)
treeebdab2b28462a0339d6a1d786a3232143dfd56a0 /sys
parente86a04ed70dd92d905f073aa48b9456ce7bc8dd4 (diff)
downloadFreeBSD-src-d7bdb145cfc123b3f9b5d3ba3ead111dfc83a31c.zip
FreeBSD-src-d7bdb145cfc123b3f9b5d3ba3ead111dfc83a31c.tar.gz
Removed a bogus ifdef that broke using SWI_* in LKMs.
Fixed a comment.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/include/ipl.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/i386/include/ipl.h b/sys/i386/include/ipl.h
index 3984109..aef990e 100644
--- a/sys/i386/include/ipl.h
+++ b/sys/i386/include/ipl.h
@@ -30,14 +30,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: ipl.h,v 1.13 1998/01/15 07:32:56 gibbs Exp $
+ * $Id: ipl.h,v 1.14 1998/08/11 15:08:12 bde Exp $
*/
#ifndef _MACHINE_IPL_H_
#define _MACHINE_IPL_H_
-#if defined(KERNEL) && !defined(ACTUALLY_LKM_NOT_KERNEL)
-
#ifdef APIC_IO
#include <i386/isa/apic_ipl.h>
#else
@@ -90,8 +88,6 @@
#define SWI_AST_MASK SWI_AST_PENDING
#define SWI_MASK (~HWI_MASK)
-#endif /* KERNEL && !ACTUALLY_LKM_NOT_KERNEL */
-
#ifndef LOCORE
/*
@@ -108,7 +104,7 @@ extern unsigned cil; /* current INTerrupt level mask */
#endif
extern volatile unsigned idelayed; /* interrupts to become pending */
extern volatile unsigned ipending; /* active interrupts masked by cpl */
-#ifdef notyet /* in <sys/interrupt.h> until pci drivers stop hacking on them */
+#ifdef notyet /* in <sys/systm.h> until pci drivers stop hacking on them */
extern unsigned net_imask; /* group of interrupts masked with splimp() */
extern unsigned stat_imask; /* interrupts masked with splstatclock() */
extern unsigned tty_imask; /* group of interrupts masked with spltty() */
OpenPOWER on IntegriCloud