[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kdb: task_has_cpu not found



On Wed, 2002-02-13 at 17:21, Ionut Georgescu wrote:
> Hi,
> 
> i was trying to compile a 2.4.17 kernel with the cvs patch from
> 20020210. However, linking the kernel fails because task_has_cpu, which
> is called in kdbmain.c, is not defined. Indeed, grep -r task_has_cpu *
> in the linux tree showed only one occurence: the one in kdbmain. Am I
> missing something here ?


In 2.4.17:

Line 555 of include/linux/sched.h
#define task_has_cpu(tsk) ((tsk)->cpus_runnable != ~0UL)

Check your sources...

Steve

-- 

Steve Lord                                      voice: +1-651-683-3511
Principal Engineer, Filesystem Software         email: lord@sgi.com