Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
b4f4919b
Commit
b4f4919b
authored
Jul 03, 2009
by
Thomas Gleixner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
powerpc: kprobes: Fix missed preemption check
Signed-off-by:
Thomas Gleixner
<
tglx@linutronix.de
>
parent
5b659531
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
arch/powerpc/kernel/kprobes.c
arch/powerpc/kernel/kprobes.c
+3
-3
No files found.
arch/powerpc/kernel/kprobes.c
View file @
b4f4919b
...
@@ -263,7 +263,7 @@ ss_probe:
...
@@ -263,7 +263,7 @@ ss_probe:
kcb
->
kprobe_status
=
KPROBE_HIT_SSDONE
;
kcb
->
kprobe_status
=
KPROBE_HIT_SSDONE
;
reset_current_kprobe
();
reset_current_kprobe
();
preempt_enable
_no_resched
();
preempt_enable
();
return
1
;
return
1
;
}
else
if
(
ret
<
0
)
{
}
else
if
(
ret
<
0
)
{
/*
/*
...
@@ -282,7 +282,7 @@ ss_probe:
...
@@ -282,7 +282,7 @@ ss_probe:
return
1
;
return
1
;
no_kprobe:
no_kprobe:
preempt_enable
_no_resched
();
preempt_enable
();
return
ret
;
return
ret
;
}
}
...
@@ -412,7 +412,7 @@ static int __kprobes post_kprobe_handler(struct pt_regs *regs)
...
@@ -412,7 +412,7 @@ static int __kprobes post_kprobe_handler(struct pt_regs *regs)
}
}
reset_current_kprobe
();
reset_current_kprobe
();
out:
out:
preempt_enable
_no_resched
();
preempt_enable
();
/*
/*
* if somebody else is singlestepping across a probe point, msr
* if somebody else is singlestepping across a probe point, msr
...
...
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