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
6fdb6fbe
Commit
6fdb6fbe
authored
Apr 30, 2012
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mn10300: get rid of calling do_notify_resume() when returning to kernel mode
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
13d112ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
arch/mn10300/kernel/entry.S
arch/mn10300/kernel/entry.S
+4
-0
arch/mn10300/kernel/signal.c
arch/mn10300/kernel/signal.c
+0
-5
No files found.
arch/mn10300/kernel/entry.S
View file @
6fdb6fbe
...
@@ -108,6 +108,10 @@ restore_all:
...
@@ -108,6 +108,10 @@ restore_all:
###############################################################################
###############################################################################
ALIGN
ALIGN
syscall_exit_work
:
syscall_exit_work
:
mov
(
REG_EPSW
,
fp
),
d0
and
EPSW_nSL
,
d0
beq
resume_kernel
#
returning
to
supervisor
mode
btst
_TIF_SYSCALL_TRACE
,
d2
btst
_TIF_SYSCALL_TRACE
,
d2
beq
work_pending
beq
work_pending
LOCAL_IRQ_ENABLE
#
could
let
syscall_trace_exit
()
call
LOCAL_IRQ_ENABLE
#
could
let
syscall_trace_exit
()
call
...
...
arch/mn10300/kernel/signal.c
View file @
6fdb6fbe
...
@@ -475,11 +475,6 @@ static void do_signal(struct pt_regs *regs)
...
@@ -475,11 +475,6 @@ static void do_signal(struct pt_regs *regs)
siginfo_t
info
;
siginfo_t
info
;
int
signr
;
int
signr
;
/* we want the common case to go fast, which is why we may in certain
* cases get here from kernel mode */
if
(
!
user_mode
(
regs
))
return
;
signr
=
get_signal_to_deliver
(
&
info
,
&
ka
,
regs
,
NULL
);
signr
=
get_signal_to_deliver
(
&
info
,
&
ka
,
regs
,
NULL
);
if
(
signr
>
0
)
{
if
(
signr
>
0
)
{
if
(
handle_signal
(
signr
,
&
info
,
&
ka
,
regs
)
==
0
)
{
if
(
handle_signal
(
signr
,
&
info
,
&
ka
,
regs
)
==
0
)
{
...
...
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