diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-06-24 23:52:00 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-06-24 23:52:00 +0000 |
commit | 0fed21e1e3863944ca07c6d32cd8a6f07ee15be2 (patch) | |
tree | 26bdc60327768875f8019da54a0eec7c840cf9c0 /usr.bin/vmstat/vmstat.c | |
parent | 3fe2f0183ca7081c263069f7fd38663b8f39d2fc (diff) |
struct intrhand protected by _KERNEL; some user-mode assembly code
can't deal with the file without this
Diffstat (limited to 'usr.bin/vmstat/vmstat.c')
-rw-r--r-- | usr.bin/vmstat/vmstat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index f7f0bb2d8ae..4fb56feb283 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -1,5 +1,5 @@ /* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */ -/* $OpenBSD: vmstat.c,v 1.12 1996/06/22 17:38:14 tholo Exp $ */ +/* $OpenBSD: vmstat.c,v 1.13 1996/06/24 23:51:59 tholo Exp $ */ /* * Copyright (c) 1980, 1986, 1991, 1993 @@ -724,7 +724,9 @@ dointr() } #elif defined(i386) /* To get struct intrhand */ +#define _KERNEL #include <machine/psl.h> +#undef _KERNEL void dointr() { |