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
c19c20ac
Commit
c19c20ac
authored
May 19, 2011
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: Use single define for pending work on syscall exit
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
4f0ad950
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
arch/mips/include/asm/thread_info.h
arch/mips/include/asm/thread_info.h
+3
-0
arch/mips/kernel/entry.S
arch/mips/kernel/entry.S
+1
-1
No files found.
arch/mips/include/asm/thread_info.h
View file @
c19c20ac
...
...
@@ -149,6 +149,9 @@ register struct thread_info *__current_thread_info __asm__("$28");
#define _TIF_FPUBOUND (1<<TIF_FPUBOUND)
#define _TIF_LOAD_WATCH (1<<TIF_LOAD_WATCH)
/* work to do in syscall_trace_leave() */
#define _TIF_WORK_SYSCALL_EXIT (_TIF_SYSCALL_TRACE | _TIF_SYSCALL_AUDIT)
/* work to do on interrupt/exception return */
#define _TIF_WORK_MASK (0x0000ffef & \
~(_TIF_SECCOMP | _TIF_SYSCALL_AUDIT))
...
...
arch/mips/kernel/entry.S
View file @
c19c20ac
...
...
@@ -167,7 +167,7 @@ work_notifysig: # deal with pending signals and
FEXPORT
(
syscall_exit_work_partial
)
SAVE_STATIC
syscall_exit_work
:
li
t0
,
_TIF_
SYSCALL_TRACE
|
_TIF_SYSCALL_AUD
IT
li
t0
,
_TIF_
WORK_SYSCALL_EX
IT
and
t0
,
a2
#
a2
is
preloaded
with
TI_FLAGS
beqz
t0
,
work_pending
#
trace
bit
set
?
local_irq_enable
#
could
let
do_syscall_trace
()
...
...
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