Files
Christophe Leroy (CS GROUP) a2c02aa0c6 powerpc: Remove dead non-preemption code
Since commit 7dadeaa6e8 ("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 bee25f97ad ("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
2026-07-15 08:04:13 +05:30
..
2025-11-21 11:21:20 +01:00
2025-09-13 16:55:07 -07:00
2025-03-16 22:04:27 +11:00
2023-10-20 23:18:07 +11:00
2023-10-20 23:18:07 +11:00
2025-03-16 22:04:27 +11:00
2026-04-01 09:21:06 +05:30
2023-12-08 12:02:37 +01:00
2023-12-08 12:02:37 +01:00
2025-02-26 21:15:08 +05:30
2024-06-28 22:28:48 +10:00
2026-05-20 06:57:14 +05:30
2025-09-13 16:55:07 -07:00
2024-02-15 00:14:06 +11:00
2024-05-08 00:21:30 +10:00
2025-03-16 22:04:27 +11:00
2026-05-20 06:57:14 +05:30
2026-05-20 06:57:14 +05:30
2024-10-29 23:01:52 +11:00
2024-05-08 00:21:30 +10:00
2022-07-27 21:36:05 +10:00
2022-01-30 21:17:00 -05:00