Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jul 2004 13:43:04 +0800 (CST)
From:      Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
To:        "Thomas T. Veldhouse" <veldy@veldy.net>
Cc:        John Baldwin <jhb@FreeBSD.org>
Subject:   Re: HEADSUP: Native preemption added to the kernel scheduler
Message-ID:  <04070313422115.49930@www.mmlab.cse.yzu.edu.tw>
In-Reply-To: <40E64302.2020700@veldy.net>
References:  <200407022021.i62KLi4Y041825@repoman.freebsd.org> <200407021721.52787.jhb@FreeBSD.org> <40E64302.2020700@veldy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 3 Jul 2004, Thomas T. Veldhouse wrote:
[...]
> The GENERIC kernel is failing to build now (12AM 7-03-2004) ...
> complaining about wrong number of arguments in the following file:
>
> src/sys/kern/sched_ule.c
>
> Unfortunately, I did not get the function details before rebooting my machine into windows.
>
Try this:

--- sys/kern/sched_ule.c	Sat Jul  3 12:40:22 2004
+++ /mnt/mfs/sched_ule.c	Sat Jul  3 13:39:03 2004
@@ -1716,7 +1716,7 @@
 	kseq_load_rem(KSEQ_CPU(ke->ke_cpu), ke);
 	kseq_notify(ke, cpu);
 	/* When we return from mi_switch we'll be on the correct cpu. */
-	mi_switch(SW_VOL);
+	mi_switch(SW_VOL, NULL);
 #endif
 }



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