Re: HEADSUP: Native preemption added to the kernel scheduler

From: Tai-hwa Liang <avatar_at_mmlab.cse.yzu.edu.tw>
Date: Sat, 3 Jul 2004 13:43:04 +0800 (CST)
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
_at__at_ -1716,7 +1716,7 _at__at_
 	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
 }
Received on Sat Jul 03 2004 - 03:43:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:00 UTC