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
106469f1
Commit
106469f1
authored
Jul 17, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: __clear_user should return number of bytes not copied
parent
dc9a082e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
arch/ppc64/lib/string.S
arch/ppc64/lib/string.S
+12
-6
No files found.
arch/ppc64/lib/string.S
View file @
106469f1
...
...
@@ -171,11 +171,11 @@ _GLOBAL(__clear_user)
add
r4
,
r0
,
r4
subf
r6
,
r0
,
r6
srwi
r0
,
r4
,
2
andi
.
r4
,
r4
,
3
mtctr
r0
bdz
6
f
bdz
7
f
1
:
stwu
r5
,
4
(
r6
)
bdnz
1
b
6
:
andi
.
r4
,
r4
,
3
/
*
clear
byte
sized
chunks
*/
7
:
cmpwi
0
,
r4
,
0
beqlr
...
...
@@ -184,14 +184,20 @@ _GLOBAL(__clear_user)
8
:
stbu
r5
,
1
(
r6
)
bdnz
8
b
blr
99
:
li
r3
,-
EFAULT
90
:
mr
r3
,
r4
blr
91
:
mfctr
r3
slwi
r3
,
r3
,
2
add
r3
,
r3
,
r4
blr
92
:
mfctr
r3
blr
.
section
__ex_table
,
"a"
.
align
3
.
llong
11
b
,
9
9
b
.
llong
1
b
,
9
9
b
.
llong
8
b
,
9
9
b
.
llong
11
b
,
9
0
b
.
llong
1
b
,
9
1
b
.
llong
8
b
,
9
2
b
.
text
_GLOBAL
(
__strncpy_from_user
)
...
...
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