diff options
author | Lennox Wu <lennox.wu@gmail.com> | 2013-09-14 13:48:37 +0800 |
---|---|---|
committer | Lennox Wu <lennox.wu@gmail.com> | 2013-09-26 03:46:03 +0800 |
commit | 5fbbf8a1a93452b26e7791cf32cefce62b0a480b (patch) | |
tree | 8dcd207baf7ffa21811b32ff1798cbd62cb1b097 /arch/score/kernel/process.c | |
parent | 22356f447ceb8d97a4885792e7d9e4607f712e1b (diff) |
Score: The commit is for compiling successfully.
The modifications include:
1. Kconfig of Score: we don't support ioremap
2. Missed headfile including
3. There are some errors in other people's commit not checked by us, we fix it now
3.1 arch/score/kernel/entry.S: wrong instructions
3.2 arch/score/kernel/process.c : just some typos
Signed-off-by: Lennox Wu <lennox.wu@gmail.com>
Diffstat (limited to 'arch/score/kernel/process.c')
-rw-r--r-- | arch/score/kernel/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/score/kernel/process.c b/arch/score/kernel/process.c index f4c6d02421d3..a1519ad3d49d 100644 --- a/arch/score/kernel/process.c +++ b/arch/score/kernel/process.c @@ -78,8 +78,8 @@ int copy_thread(unsigned long clone_flags, unsigned long usp, p->thread.reg0 = (unsigned long) childregs; if (unlikely(p->flags & PF_KTHREAD)) { memset(childregs, 0, sizeof(struct pt_regs)); - p->thread->reg12 = usp; - p->thread->reg13 = arg; + p->thread.reg12 = usp; + p->thread.reg13 = arg; p->thread.reg3 = (unsigned long) ret_from_kernel_thread; } else { *childregs = *current_pt_regs(); |