process.c (04bd52fb341da5a8c42a4b4a4dc4a3c9e5ceb865) process.c (714acdbd1c94e7e3ab90f6b6938f1ccb27b662f0)
1/*
2 * Architecture-dependent parts of process handling.
3 *
4 * Copyright (C) 2013 Altera Corporation
5 * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch>
6 * Copyright (C) 2009 Wind River Systems Inc
7 * Implemented by fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com
8 * Copyright (C) 2004 Microtronix Datacom Ltd

--- 86 unchanged lines hidden (view full) ---

95 pr_notice("ea: %08lx estatus: %08lx\n",
96 regs->ea, regs->estatus);
97}
98
99void flush_thread(void)
100{
101}
102
1/*
2 * Architecture-dependent parts of process handling.
3 *
4 * Copyright (C) 2013 Altera Corporation
5 * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch>
6 * Copyright (C) 2009 Wind River Systems Inc
7 * Implemented by fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com
8 * Copyright (C) 2004 Microtronix Datacom Ltd

--- 86 unchanged lines hidden (view full) ---

95 pr_notice("ea: %08lx estatus: %08lx\n",
96 regs->ea, regs->estatus);
97}
98
99void flush_thread(void)
100{
101}
102
103int copy_thread_tls(unsigned long clone_flags, unsigned long usp,
104 unsigned long arg, struct task_struct *p, unsigned long tls)
103int copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg,
104 struct task_struct *p, unsigned long tls)
105{
106 struct pt_regs *childregs = task_pt_regs(p);
107 struct pt_regs *regs;
108 struct switch_stack *stack;
109 struct switch_stack *childstack =
110 ((struct switch_stack *)childregs) - 1;
111
112 if (unlikely(p->flags & PF_KTHREAD)) {

--- 166 unchanged lines hidden ---
105{
106 struct pt_regs *childregs = task_pt_regs(p);
107 struct pt_regs *regs;
108 struct switch_stack *stack;
109 struct switch_stack *childstack =
110 ((struct switch_stack *)childregs) - 1;
111
112 if (unlikely(p->flags & PF_KTHREAD)) {

--- 166 unchanged lines hidden ---