projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0593a44
)
MIPS: kernel: syscall: Set the appropriate ISA level for MIPS R6
author
Markos Chandras
<markos.chandras@imgtec.com>
Thu, 15 Jan 2015 10:34:00 +0000
(10:34 +0000)
committer
Markos Chandras
<markos.chandras@imgtec.com>
Tue, 17 Feb 2015 15:37:29 +0000
(15:37 +0000)
MIPS R6 changed the opcodes for LL/SC instructions so we need to set
the appropriate ISA level.
Cc: Matthew Fortune <Matthew.Fortune@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/kernel/syscall.c
patch
|
blob
|
history
diff --git
a/arch/mips/kernel/syscall.c
b/arch/mips/kernel/syscall.c
index 604b558809c4c4474bfd953507ca7e54af5e9eca..53a7ef9a8f320c5b14c5abb2d3e1518c0ad7f756 100644
(file)
--- a/
arch/mips/kernel/syscall.c
+++ b/
arch/mips/kernel/syscall.c
@@
-136,7
+136,7
@@
static inline int mips_atomic_set(unsigned long addr, unsigned long new)
: "memory");
} else if (cpu_has_llsc) {
__asm__ __volatile__ (
- " .set
arch=r4000
\n"
+ " .set
"MIPS_ISA_ARCH_LEVEL"
\n"
" li %[err], 0 \n"
"1: ll %[old], (%[addr]) \n"
" move %[tmp], %[new] \n"