projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
riscv: __asm_copy_to-from_user: Fix: fail on RV32
[linux-2.6-microblaze.git]
/
arch
/
riscv
/
lib
/
uaccess.S
diff --git
a/arch/riscv/lib/uaccess.S
b/arch/riscv/lib/uaccess.S
index
8bbeca8
..
2798768
100644
(file)
--- a/
arch/riscv/lib/uaccess.S
+++ b/
arch/riscv/lib/uaccess.S
@@
-125,7
+125,7
@@
ENTRY(__asm_copy_from_user)
* t3 - prev shift
* t4 - current shift
*/
- slli t3, a3,
LGREG
+ slli t3, a3,
3 /* converting bytes in a3 to bits */
li a5, SZREG*8
sub t4, a5, t3