linux/arch/powerpc
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
..
boot strncpy removal for v7.2-rc1 2026-06-19 14:56:45 -07:00
configs Char/Misc/IIO/FPGA/GPIB/etc driver updates for 7.2-rc1 2026-06-22 12:20:21 -07:00
crypto crypto: powerpc/aes - use min in ppc_{ecb,cbc,ctr,xts}_crypt 2026-06-05 19:36:36 +08:00
include powerpc: Remove dead non-preemption code 2026-07-15 08:04:13 +05:30
kernel powerpc/dt_cpu_ftrs: Set CPU_FTR_P11_PVR for Power11 and later processors 2026-07-15 08:04:13 +05:30
kexec powerpc/kexec: fix double get_cpu() imbalance in kexec_prepare_cpus 2026-06-15 16:25:21 +05:30
kvm KVM: PPC: remove hugetlb.h inclusion 2026-04-05 13:53:23 -07:00
lib powerpc: Remove dead non-preemption code 2026-07-15 08:04:13 +05:30
math-emu
mm mm.git review status for mm-hotfixes-stable..mm-stable 2026-06-19 10:14:34 -07:00
net bpf: Restrict JIT predictor flush to cBPF 2026-07-01 10:33:38 +02:00
perf powerpc/perf: fix preempt count underflow in fsl_emb_pmu_del 2026-06-15 16:25:21 +05:30
platforms powerpc/pseries: fix memory leak on krealloc failure in papr_init 2026-07-15 08:04:13 +05:30
purgatory
sysdev Replace <linux/mod_devicetable.h> by more specific <linux/device-id/*.h> (c files) 2026-07-03 07:38:17 +02:00
tools powerpc64/ftrace: fix OOL stub count with clang 2026-03-07 16:02:25 +05:30
xmon
Kbuild
Kconfig powerpc updates for 7.2 2026-06-19 07:37:52 -07:00
Kconfig.debug powerpc: fix dead default for GUEST_STATE_BUFFER_TEST 2026-05-12 11:50:52 +05:30
Makefile
Makefile.postlink