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/entry.S | |
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/entry.S')
-rw-r--r-- | arch/score/kernel/entry.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/score/kernel/entry.S b/arch/score/kernel/entry.S index 7234ed09b7b..befb87d30a8 100644 --- a/arch/score/kernel/entry.S +++ b/arch/score/kernel/entry.S @@ -264,7 +264,7 @@ resume_kernel: disable_irq lw r8, [r28, TI_PRE_COUNT] cmpz.c r8 - bne r8, restore_all + bne restore_all need_resched: lw r8, [r28, TI_FLAGS] andri.c r9, r8, _TIF_NEED_RESCHED @@ -415,7 +415,7 @@ ENTRY(handle_sys) sw r9, [r0, PT_EPC] cmpi.c r27, __NR_syscalls # check syscall number - bgeu illegal_syscall + bcs illegal_syscall slli r8, r27, 2 # get syscall routine la r11, sys_call_table |