summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-08-21 05:47:25 +0000
committerfsmp <fsmp@FreeBSD.org>1997-08-21 05:47:25 +0000
commit21623b13bca01fa8ec9a427bb7ffbfa0c1d0e339 (patch)
tree6a8792806e47e5ef6658a8f63f2d6f90f889dffb /sys/isa
parentb66d5dcfc98c4c873a8f6c204802c2111a52dc34 (diff)
downloadFreeBSD-src-21623b13bca01fa8ec9a427bb7ffbfa0c1d0e339.zip
FreeBSD-src-21623b13bca01fa8ec9a427bb7ffbfa0c1d0e339.tar.gz
Moved the COM_LOCK and COM_UNLOCK macros to machine/param.h.
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/sio.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/isa/sio.c b/sys/isa/sio.c
index 5249698..b647051 100644
--- a/sys/isa/sio.c
+++ b/sys/isa/sio.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
- * $Id: sio.c,v 1.174 1997/08/04 19:12:54 fsmp Exp $
+ * $Id: sio.c,v 1.175 1997/08/20 05:25:16 fsmp Exp $
*/
#include "opt_comconsole.h"
@@ -82,15 +82,6 @@
#include <pccard/slot.h>
#endif
-#ifdef SMP
-#include <machine/smp.h>
-#define COM_LOCK() s_lock(&com_lock)
-#define COM_UNLOCK() s_unlock(&com_lock)
-#else
-#define COM_LOCK()
-#define COM_UNLOCK()
-#endif /* SMP */
-
#ifdef APIC_IO
/*
* INTs are masked in the (global) IO APIC,
OpenPOWER on IntegriCloud