Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-seco-imx
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Jira
Code
Merge requests
12
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clea OS
bsp
nxp
linux-seco-imx
Commits
c19c20ac
Commit
c19c20ac
authored
13 years ago
by
Ralf Baechle
Browse files
Options
Downloads
Patches
Plain Diff
MIPS: Use single define for pending work on syscall exit
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
4f0ad950
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/mips/include/asm/thread_info.h
+3
-0
3 additions, 0 deletions
arch/mips/include/asm/thread_info.h
arch/mips/kernel/entry.S
+1
-1
1 addition, 1 deletion
arch/mips/kernel/entry.S
with
4 additions
and
1 deletion
arch/mips/include/asm/thread_info.h
+
3
−
0
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))
...
...
This diff is collapsed.
Click to expand it.
arch/mips/kernel/entry.S
+
1
−
1
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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment