diff options
author | Mark Rutland <[email protected]> | 2022-02-14 16:52:13 +0000 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2022-02-19 11:11:08 +0100 |
commit | 33c64734be3461222a8aa27d3dadc477ebca62de (patch) | |
tree | bf73593e106d327edd105d791278312f9c14ec4c /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | 4624a14f4daa8ab4578d274555fd8847254ce339 (diff) |
sched/preempt: Decouple HAVE_PREEMPT_DYNAMIC from GENERIC_ENTRY
Now that the enabled/disabled states for the preemption functions are
declared alongside their definitions, the core PREEMPT_DYNAMIC logic is
no longer tied to GENERIC_ENTRY, and can safely be selected so long as
an architecture provides enabled/disabled states for
irqentry_exit_cond_resched().
Make it possible to select HAVE_PREEMPT_DYNAMIC without GENERIC_ENTRY.
For existing users of HAVE_PREEMPT_DYNAMIC there should be no functional
change as a result of this patch.
Signed-off-by: Mark Rutland <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Ard Biesheuvel <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions