Skip to content

Commit f010c17

Browse files
pavelvkozlovabrodkin
authored andcommitted
ARC: uaccess: fix generic 64bit user get operation
Fix get_user macro build error for ARCv3 32bit with disabled CONFIG_ARC_HAS_LL64 option. Switch to modifier that is supported by all ARCv1/ARCv2/ARCv3 compilers. Signed-off-by: Pavel Kozlov <pavel.kozlov@synopsys.com>
1 parent d73d280 commit f010c17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arc/include/asm/uaccess.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@
109109
#define __arc_get_user_one_64(dst, src, ret) \
110110
__asm__ __volatile__( \
111111
"1: ld %1,[%2]\n" \
112-
"4: ld %R1,[%2, 4]\n" \
112+
"4: ld %H1,[%2, 4]\n" \
113113
"2: ;nop\n" \
114114
" .section .fixup, \"ax\"\n" \
115115
" .align 4\n" \
116116
"3: # return -EFAULT\n" \
117117
" mov %0, %3\n" \
118118
" # zero out dst ptr\n" \
119119
" mov %1, 0\n" \
120-
" mov %R1, 0\n" \
120+
" mov %H1, 0\n" \
121121
" b 2b\n" \
122122
" .previous\n" \
123123
" .section __ex_table, \"a\"\n" \

0 commit comments

Comments
 (0)