Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
34dba36a
Commit
34dba36a
authored
Jun 16, 2003
by
Deepak Saxena
Committed by
Russell King
Jun 16, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM PATCH] 1553/1: BE support for __put_user_asm_dword()...
Patch from Deepak Saxena
parent
97ef4805
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
include/asm-arm/proc-armv/uaccess.h
include/asm-arm/proc-armv/uaccess.h
+10
-2
No files found.
include/asm-arm/proc-armv/uaccess.h
View file @
34dba36a
...
...
@@ -87,10 +87,18 @@ static inline void set_fs (mm_segment_t fs)
: "r" (x), "r" (__pu_addr), "i" (-EFAULT) \
: "cc")
#ifndef __ARMEB__
#define __reg_oper0 "%R2"
#define __reg_oper1 "%Q2"
#else
#define __reg_oper0 "%Q2"
#define __reg_oper1 "%R2"
#endif
#define __put_user_asm_dword(x,__pu_addr,err) \
__asm__ __volatile__( \
"1: strt
%Q2, [%1], #4\n"
\
"2: strt
%R2, [%1], #0\n"
\
"1: strt
" __reg_oper1 ", [%1], #4\n"
\
"2: strt
" __reg_oper0 ", [%1], #0\n"
\
"3:\n" \
" .section .fixup,\"ax\"\n" \
" .align 2\n" \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment