summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authordt <dt@FreeBSD.org>1999-04-24 10:41:21 +0000
committerdt <dt@FreeBSD.org>1999-04-24 10:41:21 +0000
commit98cf21bf1ed5540b20d9aaf75bd887a9aa8f1d8b (patch)
treeab028f33ff914c861b58fe173ea5083b3beb34f9 /sys/isa
parent34378e1d7c1bc4aa9323c6613d96f005bc8241cb (diff)
downloadFreeBSD-src-98cf21bf1ed5540b20d9aaf75bd887a9aa8f1d8b.zip
FreeBSD-src-98cf21bf1ed5540b20d9aaf75bd887a9aa8f1d8b.tar.gz
Modify the non-i386 version of disable_intr() and enable_intr() so that they
don't produce a warning on every use.
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/sio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/isa/sio.c b/sys/isa/sio.c
index 42755b6..dc42b0a 100644
--- a/sys/isa/sio.c
+++ b/sys/isa/sio.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: sio.c,v 1.225 1999/04/18 14:11:01 dfr Exp $
+ * $Id: sio.c,v 1.226 1999/04/18 14:35:28 peter Exp $
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* from: i386/isa sio.c,v 1.234
*/
@@ -109,8 +109,8 @@
#endif
#ifndef __i386__
-#define disable_intr() 0
-#define enable_intr() 0
+#define disable_intr()
+#define enable_intr()
#endif
#ifdef SMP
OpenPOWER on IntegriCloud