hi,
my build of kernel-2.4.0-test3 breaks on a NON_SMP
system with:
gcc -D__KERNEL__ -I/usr/src/redhat/BUILD/kernel-2.4.0/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i686 -fno-strict-aliasing -c -o timer.o timer.c
timer.c: In function `update_process_times':
timer.c:580: structure has no member named `priority'
timer.c:580: `DEF_PRIORITY' undeclared (first use in this function)
timer.c:580: (Each undeclared identifier is reported only once
timer.c:580: for each function it appears in.)
according to the changes in test3-pre9 i've created the
following patch:
######
--- linux/kernel/timer.c~ Tue Jul 11 15:41:12 2000
+++ linux/kernel/timer.c Tue Jul 11 16:04:26 2000
@@ -577,7 +577,7 @@
p->counter = 0;
p->need_resched = 1;
}
- if (p->priority < DEF_PRIORITY)
+ if (p->nice > 0)
kstat.cpu_nice += user_tick;
else
kstat.cpu_user += user_tick;
######
hope that's ok
regards
Jens
-- -------------------------------------------------------------- | Jens Schlegel | | TFH Berlin email: schlegel@tfh-berlin.de | --------------------------------------------------------------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:12 EST