xfs
[Top] [All Lists]

Re: kdb: task_has_cpu not found

To: Ionut Georgescu <george@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: kdb: task_has_cpu not found
From: Steve Lord <lord@xxxxxxx>
Date: 13 Feb 2002 17:27:21 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20020213232136.GA31067@xxxxxxxxxxxxxxxxxxxx>
References: <20020213232136.GA31067@xxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
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@xxxxxxx


<Prev in Thread] Current Thread [Next in Thread>