diff options
| author | Paul E. McKenney <[email protected]> | 2010-03-03 17:50:16 -0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2010-03-04 12:07:33 +0100 |
| commit | e6033e3b307fcfae08408e0673266db38392bda4 (patch) | |
| tree | fd8d37b2aee0a1a22499297df4b748ace5166df7 /tools/perf/scripts/python | |
| parent | cc5b83a9f884fe8722a275069a5a6fde39988455 (diff) | |
rcu: Make rcu_read_lock_sched_held() handle !PREEMPT
The rcu_read_lock_sched_held() needs to unconditionally return
the value "1" in a !PREEMPT kernel, because under !PREEMPT,
-all- kernel code is implicitly preempt-disabled. This patch
makes this happen.
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions