X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fcris%2Farch-v32%2Fkernel%2Fprocess.c;fp=arch%2Fcris%2Farch-v32%2Fkernel%2Fprocess.c;h=87be734fa8df26ebe0a5ed4867e4e2e0929c0ec9;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=843513102d3cfcbb94404b0a56edd08daa6b9178;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/arch/cris/arch-v32/kernel/process.c b/arch/cris/arch-v32/kernel/process.c index 843513102..87be734fa 100644 --- a/arch/cris/arch-v32/kernel/process.c +++ b/arch/cris/arch-v32/kernel/process.c @@ -8,7 +8,6 @@ * This file handles the architecture-dependent parts of process handling.. */ -#include #include #include #include @@ -121,7 +120,8 @@ kernel_thread(int (*fn)(void *), void * arg, unsigned long flags) regs.ccs = 1 << (I_CCS_BITNR + CCS_SHIFT); /* Create the new process. */ - return do_fork(flags | CLONE_VM | CLONE_UNTRACED, 0, ®s, 0, NULL, NULL); + return do_fork(flags | CLONE_VM | CLONE_UNTRACED | CLONE_KTHREAD, + 0, ®s, 0, NULL, NULL); } /*