From owner-freebsd-smp Tue Oct 3 12: 2:51 2000 Delivered-To: freebsd-smp@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by hub.freebsd.org (Postfix) with ESMTP id BA42137B66F; Tue, 3 Oct 2000 12:02:40 -0700 (PDT) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.11.1/8.11.1) id e93J8OS00830; Tue, 3 Oct 2000 12:08:24 -0700 (PDT) (envelope-from sgk) From: Steve Kargl Message-Id: <200010031908.e93J8OS00830@troutmask.apl.washington.edu> Subject: Re: witness code status? In-Reply-To: from John Baldwin at "Oct 3, 2000 11:25:00 am" To: John Baldwin Date: Tue, 3 Oct 2000 12:08:23 -0700 (PDT) Cc: Jake Burkholder , freebsd-smp@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org John Baldwin wrote: > > 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? > Well, it appears to work because troutmask:sgk[247] find /sys/ -name \*.h | xargs grep USER_LDT /sys/compile/TROUTMASK/opt_user_ldt.h:#define USER_LDT 1 /sys/i386/include/globaldata.h:#ifdef USER_LDT /sys/i386/include/globals.h:#ifdef USER_LDT /sys/i386/include/globals.h:#ifdef USER_LDT And kern_idle.c includes #include #include which suggests that yes USER_LDT should move to opt_global.h. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message