diff options
author | peter <peter@FreeBSD.org> | 1998-04-06 18:59:15 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-04-06 18:59:15 +0000 |
commit | b5d3779b73faae20d6a07cd1a84130b2cb65bc56 (patch) | |
tree | 486d87a6520375794dca269192b77049a8f7ef68 /sys/i386/include/globaldata.h | |
parent | db031c687bb2aaf356c778d2c270b369ab83ec15 (diff) | |
download | FreeBSD-src-b5d3779b73faae20d6a07cd1a84130b2cb65bc56.zip FreeBSD-src-b5d3779b73faae20d6a07cd1a84130b2cb65bc56.tar.gz |
Fix VM86 compiles. a #include "opt_vm86.h" was missing, and the my_tr
variable was needed in the non-SMP case.
Submitted by: Jonathan Lemon <jlemon@americantv.com>
Diffstat (limited to 'sys/i386/include/globaldata.h')
-rw-r--r-- | sys/i386/include/globaldata.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/i386/include/globaldata.h b/sys/i386/include/globaldata.h index 9bdfaf0..e6b1dc8 100644 --- a/sys/i386/include/globaldata.h +++ b/sys/i386/include/globaldata.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: globaldata.h,v 1.1 1998/04/06 15:37:21 peter Exp $ */ /* @@ -46,6 +46,7 @@ struct globaldata { #ifdef VM86 struct segment_descriptor common_tssd; u_int private_tss; + u_int my_tr; #endif #ifdef SMP u_int cpuid; @@ -57,11 +58,7 @@ struct globaldata { pt_entry_t *prv_CMAP2; pt_entry_t *prv_CMAP3; int inside_intr; -#ifdef VM86 - u_int my_tr; /* XX VM86 only */ -#endif #endif - }; #ifdef SMP |