diff options
author | dt <dt@FreeBSD.org> | 1999-04-24 10:41:21 +0000 |
---|---|---|
committer | dt <dt@FreeBSD.org> | 1999-04-24 10:41:21 +0000 |
commit | 98cf21bf1ed5540b20d9aaf75bd887a9aa8f1d8b (patch) | |
tree | ab028f33ff914c861b58fe173ea5083b3beb34f9 | |
parent | 34378e1d7c1bc4aa9323c6613d96f005bc8241cb (diff) | |
download | FreeBSD-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.
-rw-r--r-- | sys/dev/sio/sio.c | 6 | ||||
-rw-r--r-- | sys/isa/sio.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 42755b6..dc42b0a 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/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 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 |