lkml.org 
[lkml]   [2000]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: That didn't last long - 2.4.0-test3
On Mon, Jul 10, 2000 at 09:19:47PM -0400, Michael H. Warfield wrote:

> Just heard about 2.4.0test3. Just snagged it off kernel.org
> and promptly got hit by this trying to upgrade from test2 to test3.
>
> -D__KERNEL__ -I/mnt1/src/linux-2.4.0test3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i586 -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.)
> make[2]: *** [timer.o] Error 1
> make[2]: Leaving directory `/mnt1/src/linux-2.4.0test3/kernel'
> make[1]: *** [first_rule] Error 2
> make[1]: Leaving directory `/mnt1/src/linux-2.4.0test3/kernel'
> make: *** [_dir_kernel] Error 2
> [root@alcove linux]#
>
> Sigh...
>
> X86, uniprocessor.

Either compile a SMP kernel or use the patch below.

Ralf

--- linux-2.4.0-test3-pre8/kernel/timer.c Mon Jul 10 23:19:48 2000
+++ lw/kernel/timer.c Tue Jul 11 03:07:20 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;
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.032 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site