diff options
Diffstat (limited to 'sys/arch/mac68k/dev/adb_direct.c')
-rw-r--r-- | sys/arch/mac68k/dev/adb_direct.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/mac68k/dev/adb_direct.c b/sys/arch/mac68k/dev/adb_direct.c index ff56727b03d..6ac6c9c553e 100644 --- a/sys/arch/mac68k/dev/adb_direct.c +++ b/sys/arch/mac68k/dev/adb_direct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adb_direct.c,v 1.11 2002/03/14 01:26:35 millert Exp $ */ +/* $OpenBSD: adb_direct.c,v 1.12 2003/03/14 10:47:36 miod Exp $ */ /* $NetBSD: adb_direct.c,v 1.5 1997/04/21 18:04:28 scottr Exp $ */ /* From: adb_direct.c 2.02 4/18/97 jpw */ @@ -1666,8 +1666,6 @@ adb_reinit(void) int nonewtimes; /* times thru loop w/o any new devices */ ADBDataBlock data; /* temp. holder for getting device info */ - (void)(&s); /* work around lame GCC bug */ - /* Make sure we are not interrupted while building the table. */ if (adbHardware != ADB_HW_PB) /* ints must be on for PB? */ s = splhigh(); @@ -1739,8 +1737,8 @@ adb_reinit(void) default: via_reg(VIA1, vIER) = 0x04; /* turn interrupts off - TO * DO: turn PB ints off? */ + splx(s); return; - break; } /* |