summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2003-12-12 22:35:13 +0000
committermartin <martin@NetBSD.org>2003-12-12 22:35:13 +0000
commitcc7556d48751b1bb04858d1ee8b1220ee515e86b (patch)
treea20543e09decc9164c6f5fa3f5c5f33a7f1de4fe /sys/dev
parent797eaa4ff320db24357a50960972799b4475e485 (diff)
Fix compilation for ports w/o __GENERIC_SOFT_INTERRUPTS_ALL_LEVELS.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/pckbc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/pckbc.c b/sys/dev/ic/pckbc.c
index 73638d52fd2..33f57da49d8 100644
--- a/sys/dev/ic/pckbc.c
+++ b/sys/dev/ic/pckbc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pckbc.c,v 1.28 2003/12/12 14:30:16 martin Exp $ */
+/* $NetBSD: pckbc.c,v 1.29 2003/12/12 22:35:13 martin Exp $ */
/*
* Copyright (c) 1998
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pckbc.c,v 1.28 2003/12/12 14:30:16 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pckbc.c,v 1.29 2003/12/12 22:35:13 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1001,9 +1001,9 @@ pckbcintr_soft(vsc)
struct pckbc_internal *t = sc->id;
int data, slot, s;
#ifndef __GENERIC_SOFT_INTERRUPTS_ALL_LEVELS
- int s;
+ int st;
- s = spltty();
+ st = spltty();
#endif
s = splhigh();
@@ -1020,7 +1020,7 @@ pckbcintr_soft(vsc)
#ifndef __GENERIC_SOFT_INTERRUPTS_ALL_LEVELS
- splx(s);
+ splx(st);
#endif
}