Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
cd1fb9ea
Commit
cd1fb9ea
authored
Feb 12, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "[MIPS] Fix warning in get_user when fetching pointer object from userspace."
This reverts commit
4ed3a77f
.
parent
84b47a95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
include/asm-mips/uaccess.h
include/asm-mips/uaccess.h
+4
-1
No files found.
include/asm-mips/uaccess.h
View file @
cd1fb9ea
...
@@ -265,6 +265,8 @@ do { \
...
@@ -265,6 +265,8 @@ do { \
*/
*/
#define __get_user_asm_ll32(val, addr) \
#define __get_user_asm_ll32(val, addr) \
{ \
{ \
unsigned long long __gu_tmp; \
\
__asm__ __volatile__( \
__asm__ __volatile__( \
"1: lw %1, (%3) \n" \
"1: lw %1, (%3) \n" \
"2: lw %D1, 4(%3) \n" \
"2: lw %D1, 4(%3) \n" \
...
@@ -279,8 +281,9 @@ do { \
...
@@ -279,8 +281,9 @@ do { \
" " __UA_ADDR " 1b, 4b \n" \
" " __UA_ADDR " 1b, 4b \n" \
" " __UA_ADDR " 2b, 4b \n" \
" " __UA_ADDR " 2b, 4b \n" \
" .previous \n" \
" .previous \n" \
: "=r" (__gu_err), "=&r" (
val)
\
: "=r" (__gu_err), "=&r" (
__gu_tmp)
\
: "0" (0), "r" (addr), "i" (-EFAULT)); \
: "0" (0), "r" (addr), "i" (-EFAULT)); \
(val) = (__typeof__(*(addr))) __gu_tmp; \
}
}
/*
/*
...
...
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