Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Oct 2000 11:25:00 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Jake Burkholder <jburkhol@home.com>
Cc:        freebsd-smp@FreeBSD.ORG, Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject:   Re: witness code status?
Message-ID:  <XFMail.001003112500.jhb@FreeBSD.org>
In-Reply-To: <20001003165344.56138BA77@io.yi.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]

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/

[-- Attachment #2 --]
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>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001003112500.jhb>