diff options
| author | Andrew Halaney <[email protected]> | 2021-12-03 23:32:03 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2021-12-04 09:56:18 +0000 |
| commit | 9ed20bafc85806ca6c97c9128cec46c3ef80ae86 (patch) | |
| tree | 152a88cf230c5fa47d2a77a65bfe02ec9a84b3e2 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | sched/cputime: Fix getrusage(RUSAGE_THREAD) with nohz_full (diff) | |
| download | kernel-9ed20bafc85806ca6c97c9128cec46c3ef80ae86.tar.gz kernel-9ed20bafc85806ca6c97c9128cec46c3ef80ae86.zip | |
preempt/dynamic: Fix setup_preempt_mode() return value
__setup() callbacks expect 1 for success and 0 for failure. Correct the
usage here to reflect that.
Fixes: 826bfeb37bb4 ("preempt/dynamic: Support dynamic preempt with preempt= boot option")
Reported-by: Mark Rutland <[email protected]>
Signed-off-by: Andrew Halaney <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
