diff options
| author | Christophe Leroy (CS GROUP) <chleroy@kernel.org> | 2026-06-19 14:08:28 +0200 |
|---|---|---|
| committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2026-07-15 08:04:13 +0530 |
| commit | a2c02aa0c6ca3ec9fab6f1c99912a440c7b8bfdb (patch) | |
| tree | 94cdfb53281b1b7f5448d4039cb398cc9f1e58cd /Documentation/tty/git@git.tavy.me:linux.git | |
| parent | e4de1b9cb3b5c981e4fe9bca253a7fb9161f5acd (diff) | |
powerpc: Remove dead non-preemption code
Since commit 7dadeaa6e851 ("sched: Further restrict the preemption
modes"), powerpc always has CONFIG_PREEMPTION because only
CONFIG_PREEMPT and CONFIG_PREEMPT_LAZY are possible, even in
dynamic preemption mode (see sched_dynamic_mode).
As a consequence, need_irq_preemption() is always true and can be
removed.
And because commit bee25f97ad24 ("powerpc: Enable GENERIC_ENTRY
feature") includes linux/irq-entry-common.h which already declares
sk_dynamic_irqentry_exit_cond_resched static key, asm/preempt.h
becauses useless and can be removed.
Signed-off-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/2bf10a0afffefb6aca44bf2f864cc17471a80e31.1781870889.git.chleroy@kernel.org
Diffstat (limited to 'Documentation/tty/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
