diff options
author | 2021-12-03 17:32:03 -0600 | |
---|---|---|
committer | 2021-12-04 10:56:18 +0100 | |
commit | 9ed20bafc85806ca6c97c9128cec46c3ef80ae86 (patch) | |
tree | 152a88cf230c5fa47d2a77a65bfe02ec9a84b3e2 /lib/test_overflow.c | |
parent | sched/cputime: Fix getrusage(RUSAGE_THREAD) with nohz_full (diff) | |
download | linux-dev-9ed20bafc85806ca6c97c9128cec46c3ef80ae86.tar.xz linux-dev-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 <mark.rutland@arm.com>
Signed-off-by: Andrew Halaney <ahalaney@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20211203233203.133581-1-ahalaney@redhat.com
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions