lkml.org 
[lkml]   [2002]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectsched.h problem
hi,

I'm trying to get -ac to compile on sparc32 again.

At some point in time,

long counter;
long nice;

both disappeared from task_struct (def. in include/linux/sched.h).

However, arch/sparc/kernel/process.c::cpu_idle() tries to set
these properties for the idle task:

current->nice = 20;
current->counter = -100;
init_idle();

... which can't be done, of course.

The question is, how do I cope with this properly?

Have functions been introduced to adjust the appropriate
values in an instance of task_t when renicing? Or?

Thanks,
T.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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