From owner-freebsd-smp Tue Oct 3 11:25: 2 2000 Delivered-To: freebsd-smp@freebsd.org Received: from mail.rdc1.va.home.com (ha1.rdc1.va.home.com [24.2.32.66]) by hub.freebsd.org (Postfix) with ESMTP id 62F6B37B66D for <freebsd-smp@FreeBSD.ORG>; Tue, 3 Oct 2000 11:24:57 -0700 (PDT) Received: from laptop.baldwin.cx ([24.6.244.187]) by mail.rdc1.va.home.com (InterMail vM.4.01.03.00 201-229-121) with ESMTP id <20001003182456.SWJW26082.mail.rdc1.va.home.com@laptop.baldwin.cx>; Tue, 3 Oct 2000 11:24:56 -0700 Content-Length: 1335 Message-ID: <XFMail.001003112500.jhb@FreeBSD.org> X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_=XFMail.1.4.0.FreeBSD:001003112310:3911=_" In-Reply-To: <20001003165344.56138BA77@io.yi.org> Date: Tue, 03 Oct 2000 11:25:00 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: Jake Burkholder <jburkhol@home.com> Subject: Re: witness code status? Cc: freebsd-smp@FreeBSD.ORG, Steve Kargl <sgk@troutmask.apl.washington.edu> Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This message is in MIME format --_=XFMail.1.4.0.FreeBSD:001003112310:3911=_ Content-Type: text/plain; charset=us-ascii On 03-Oct-00 Jake Burkholder wrote: > Attached is a patch that should fix this. > Please let me know and I'll commit it. (Works here.) Ugh. How and why does this work exactly, and should we be #include'ing opt_user_ldt.h in an include file instead, or should we move USER_LDT to opt_global.h perhaps? -- John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ --_=XFMail.1.4.0.FreeBSD:001003112310:3911=_ Content-Type: text/plain ; name="idle.diff"; charset=us-ascii Content-Description: idle.diff Content-Disposition: attachment; filename="idle.diff" Index: kern_idle.c =================================================================== RCS file: /home/ncvs/src/sys/kern/kern_idle.c,v retrieving revision 1.5 diff -u -r1.5 kern_idle.c --- kern_idle.c 2000/09/22 03:19:24 1.5 +++ kern_idle.c 2000/10/03 16:44:22 @@ -4,6 +4,9 @@ * $FreeBSD: src/sys/kern/kern_idle.c,v 1.5 2000/09/22 03:19:24 msmith Exp $ */ +#ifdef __i386__ +#include "opt_user_ldt.h" +#endif #include "opt_ktrace.h" #include <sys/param.h> --_=XFMail.1.4.0.FreeBSD:001003112310:3911=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message