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
904585e9
Commit
904585e9
authored
Jun 19, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6
parents
85bed77b
6ca0c1d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
16 deletions
+18
-16
arch/sparc64/kernel/entry.S
arch/sparc64/kernel/entry.S
+18
-16
No files found.
arch/sparc64/kernel/entry.S
View file @
904585e9
...
...
@@ -1751,42 +1751,44 @@ ret_sys_call:
ldx
[%
sp
+
PTREGS_OFF
+
PT_V9_TNPC
],
%
l1
!
pc
=
npc
sra
%
o0
,
0
,
%
o0
mov
%
ulo
(
TSTATE_XCARRY
|
TSTATE_ICARRY
),
%
g2
cmp
%
o0
,
-
ENOIOCTLCMD
sllx
%
g2
,
32
,
%
g2
/
*
Check
if
force_successful_syscall_return
()
*
was
invoked
.
*/
ldx
[%
curptr
+
TI_FLAGS
],
%
l0
andcc
%
l0
,
_TIF_SYSCALL_SUCCESS
,
%
g0
be
,
pt
%
icc
,
1
f
andn
%
l0
,
_TIF_SYSCALL_SUCCESS
,
%
l0
ba
,
pt
%
xcc
,
80
f
stx
%
l0
,
[%
curptr
+
TI_FLAGS
]
1
:
cmp
%
o0
,
-
ENOIOCTLCMD
bgeu
,
pn
%
xcc
,
1
f
andcc
%
l0
,
_TIF_SYSCALL_TRACE
,
%
l6
80
:
andn
%
g3
,
%
g2
,
%
g3
/*
System
call
success
,
clear
Carry
condition
code
.
*/
/
*
System
call
success
,
clear
Carry
condition
code
.
*/
andn
%
g3
,
%
g2
,
%
g3
stx
%
g3
,
[%
sp
+
PTREGS_OFF
+
PT_V9_TSTATE
]
bne
,
pn
%
icc
,
linux_syscall_trace2
add
%
l1
,
0x4
,
%
l2
!
npc
=
npc
+
4
add
%
l1
,
0x4
,
%
l2
!
npc
=
npc
+
4
stx
%
l1
,
[%
sp
+
PTREGS_OFF
+
PT_V9_TPC
]
ba
,
pt
%
xcc
,
rtrap_clr_l6
stx
%
l2
,
[%
sp
+
PTREGS_OFF
+
PT_V9_TNPC
]
1
:
/
*
Really
a
failure
?
Check
if
force_successful_syscall_return
()
*
was
invoked
.
*/
ldx
[%
curptr
+
TI_FLAGS
],
%
l0
!
Load
andcc
%
l0
,
_TIF_SYSCALL_SUCCESS
,
%
g0
be
,
pt
%
icc
,
1
f
andcc
%
l0
,
_TIF_SYSCALL_TRACE
,
%
l6
andn
%
l0
,
_TIF_SYSCALL_SUCCESS
,
%
l0
ba
,
pt
%
xcc
,
80
b
stx
%
l0
,
[%
curptr
+
TI_FLAGS
]
/
*
System
call
failure
,
set
Carry
condition
code
.
*
Also
,
get
abs
(
errno
)
to
return
to
the
process
.
*/
1
:
andcc
%
l0
,
_TIF_SYSCALL_TRACE
,
%
l6
sub
%
g0
,
%
o0
,
%
o0
or
%
g3
,
%
g2
,
%
g3
stx
%
o0
,
[%
sp
+
PTREGS_OFF
+
PT_V9_I0
]
mov
1
,
%
l6
stx
%
g3
,
[%
sp
+
PTREGS_OFF
+
PT_V9_TSTATE
]
bne
,
pn
%
icc
,
linux_syscall_trace2
add
%
l1
,
0x4
,
%
l2
!
npc
=
npc
+
4
add
%
l1
,
0x4
,
%
l2
!
npc
=
npc
+
4
stx
%
l1
,
[%
sp
+
PTREGS_OFF
+
PT_V9_TPC
]
b
,
pt
%
xcc
,
rtrap
...
...
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