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/amd64/include/pcpu.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/amd64/include/pcpu.h')
-rw-r--r-- | sys/amd64/include/pcpu.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/amd64/include/pcpu.h b/sys/amd64/include/pcpu.h index 9bdfaf0..e6b1dc8 100644 --- a/sys/amd64/include/pcpu.h +++ b/sys/amd64/include/pcpu.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 |