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
Kirill Smelkov
linux
Commits
3b3b091d
Commit
3b3b091d
authored
Feb 01, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: Fix my overoptimisation of zeroing RESULT. Yes Linus, it
was all my fault.
parent
109095f3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
arch/ppc64/kernel/entry.S
arch/ppc64/kernel/entry.S
+0
-2
arch/ppc64/kernel/head.S
arch/ppc64/kernel/head.S
+6
-0
No files found.
arch/ppc64/kernel/entry.S
View file @
3b3b091d
...
@@ -58,8 +58,6 @@ show_syscalls_task:
...
@@ -58,8 +58,6 @@ show_syscalls_task:
*/
*/
_GLOBAL
(
DoSyscall
)
_GLOBAL
(
DoSyscall
)
std
r3
,
ORIG_GPR3
(
r1
)
std
r3
,
ORIG_GPR3
(
r1
)
li
r12
,
0
std
r12
,
RESULT
(
r1
)
ld
r11
,
_CCR
(
r1
)
/*
Clear
SO
bit
in
CR
*/
ld
r11
,
_CCR
(
r1
)
/*
Clear
SO
bit
in
CR
*/
lis
r10
,
0x1000
lis
r10
,
0x1000
andc
r11
,
r11
,
r10
andc
r11
,
r11
,
r10
...
...
arch/ppc64/kernel/head.S
View file @
3b3b091d
...
@@ -1118,6 +1118,12 @@ _GLOBAL(save_remaining_regs)
...
@@ -1118,6 +1118,12 @@ _GLOBAL(save_remaining_regs)
SAVE_4GPRS
(16,
r1
)
SAVE_4GPRS
(16,
r1
)
SAVE_8GPRS
(24,
r1
)
SAVE_8GPRS
(24,
r1
)
/
*
*
Clear
the
RESULT
field
*/
li
r22
,
0
std
r22
,
RESULT
(
r1
)
/
*
/
*
*
Test
if
from
user
state
; result will be tested later
*
Test
if
from
user
state
; result will be tested later
*/
*/
...
...
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