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
306eb7e6
Commit
306eb7e6
authored
Mar 28, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Fix interrupt enabling on trap return.
parent
6dde2ed0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
arch/sparc64/kernel/rtrap.S
arch/sparc64/kernel/rtrap.S
+2
-0
No files found.
arch/sparc64/kernel/rtrap.S
View file @
306eb7e6
...
@@ -185,6 +185,7 @@ rtrap_xcall:
...
@@ -185,6 +185,7 @@ rtrap_xcall:
*
sched
+
signal
checks
with
IRQs
disabled
.
*
sched
+
signal
checks
with
IRQs
disabled
.
*/
*/
to_user
:
wrpr
%
g0
,
RTRAP_PSTATE_IRQOFF
,
%
pstate
to_user
:
wrpr
%
g0
,
RTRAP_PSTATE_IRQOFF
,
%
pstate
wrpr
0
,
%
pil
__handle_preemption_continue
:
__handle_preemption_continue
:
ldx
[%
g6
+
TI_FLAGS
],
%
l0
ldx
[%
g6
+
TI_FLAGS
],
%
l0
sethi
%
hi
(
_TIF_USER_WORK_MASK
),
%
o0
sethi
%
hi
(
_TIF_USER_WORK_MASK
),
%
o0
...
@@ -271,6 +272,7 @@ to_kernel:
...
@@ -271,6 +272,7 @@ to_kernel:
brnz
%
l5
,
kern_fpucheck
brnz
%
l5
,
kern_fpucheck
sethi
%
hi
(
PREEMPT_ACTIVE
),
%
l6
sethi
%
hi
(
PREEMPT_ACTIVE
),
%
l6
stw
%
l6
,
[%
g6
+
TI_PRE_COUNT
]
stw
%
l6
,
[%
g6
+
TI_PRE_COUNT
]
wrpr
0
,
%
pil
call
schedule
call
schedule
nop
nop
ba
,
pt
%
xcc
,
rtrap
ba
,
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