Commit 9ed20ba
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: 826bfeb ("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.com1 parent e7f2be1 commit 9ed20ba
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6617 | 6617 | | |
6618 | 6618 | | |
6619 | 6619 | | |
6620 | | - | |
| 6620 | + | |
6621 | 6621 | | |
6622 | 6622 | | |
6623 | 6623 | | |
6624 | | - | |
| 6624 | + | |
6625 | 6625 | | |
6626 | 6626 | | |
6627 | 6627 | | |
| |||
0 commit comments