clone implementatin for ia-64 in 2.6.0 kernel - newbie

"Danny Shoham" <[email protected]> Tue, 23 Mar 2004 18:31:18 +0300
Newsgroups gmane.linux.redhat.ia64.general
Message-ID <[email protected]>
hello,

I had looked at the implementation of kernel_thread() method in
arch/ia64/kernel/process.c (2.6.0 kernel).

It goes like this:

id_t
kernel_thread (int (*fn)(void *), void *arg, unsigned long flags)
{
	struct task_struct *parent = current;
	int result;
	pid_t tid;

	tid = clone(flags | CLONE_VM | CLONE_UNTRACED, 0);

Now I wonder what where  the implementation of this clone() method is.


in /include/asm-i164/unistd.h there is the follwoing declaraion:
extern pid_t clone (unsigned long flags, void *sp);

But I scanned the arch/ia-64 tree to look for the implementation
and did not find it.

I do apologize if this question seems trivial to any of you because
I am relatively quite newbie to linux kernel code.

regards,
Dan

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail