diff options
Diffstat (limited to 'arch/h8300/kernel/process.c')
| -rw-r--r-- | arch/h8300/kernel/process.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/h8300/kernel/process.c b/arch/h8300/kernel/process.c index bc1364db58fe..46b1342ce515 100644 --- a/arch/h8300/kernel/process.c +++ b/arch/h8300/kernel/process.c @@ -112,7 +112,7 @@ int copy_thread(unsigned long clone_flags, unsigned long usp,  	childregs = (struct pt_regs *) (THREAD_SIZE + task_stack_page(p)) - 1; -	if (unlikely(p->flags & PF_KTHREAD)) { +	if (unlikely(p->flags & (PF_KTHREAD | PF_IO_WORKER))) {  		memset(childregs, 0, sizeof(struct pt_regs));  		childregs->retpc = (unsigned long) ret_from_kernel_thread;  		childregs->er4 = topstk; /* arg */  | 
