I have included Ingo's O1 scheduler K3 in the XFS kernel 2.4.18, and I get a
compile error to kdb. I have tried to find a solution, but no success.
Can someone help me out? The output is:
gcc -D__KERNEL__ -I/home/staff/gcs/kernel/linux/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -I
-DEXPORT_SYMTAB -c kdbmain.c
kdbmain.c: In function `kdb_ps':
kdbmain.c:2347: warning: implicit declaration of function `task_has_cpu'
kdbmain.c:2347: structure has no member named `processor'
make: *** [kdbmain.o] Error 1
make: Leaving directory `/home/staff/gcs/kernel/linux/kdb'
Try replacing task_has_cpu(p) with
p->state == TASK_RUNNING
All this actually effects is the output of the ps command in kdb. Totally
non-essential for xfs itself.