linux-stable/arch
Madhavan Srinivasan e7d0bd359f powerpc/kvm: Fix ifdef to remove build warning
[ Upstream commit 88688a2c8a ]

When compiling for pseries or powernv defconfig with "make C=1",
these warning were reported bu sparse tool in powerpc/kernel/kvm.c

arch/powerpc/kernel/kvm.c:635:9: warning: switch with no cases
arch/powerpc/kernel/kvm.c:646:9: warning: switch with no cases

Currently #ifdef were added after the switch case which are specific
for BOOKE and PPC_BOOK3S_32. These are not enabled in pseries/powernv
defconfig. Fix it by moving the #ifdef before switch(){}

Fixes: cbe487fac7 ("KVM: PPC: Add mtsrin PV code")
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250518044107.39928-1-maddy@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-09-04 15:30:20 +02:00
..
alpha
arc
arm sched/topology: Add a new arch_scale_freq_ref() method 2025-08-28 16:28:42 +02:00
arm64 arm64: dts: ti: k3-am62-main: Remove eMMC High Speed DDR support 2025-08-28 16:28:44 +02:00
csky
hexagon
ia64
loongarch LoongArch: Optimize module load time by optimizing PLT/GOT counting 2025-08-28 16:28:49 +02:00
m68k m68k: Fix lost column on framebuffer debug console 2025-08-28 16:28:33 +02:00
microblaze
mips mips: lantiq: xway: sysctrl: rename the etop node 2025-09-04 15:30:18 +02:00
nios2
openrisc
parisc parisc: Update comments in make_insert_tlb 2025-08-28 16:28:37 +02:00
powerpc powerpc/kvm: Fix ifdef to remove build warning 2025-09-04 15:30:20 +02:00
riscv sched/topology: Add a new arch_scale_freq_ref() method 2025-08-28 16:28:42 +02:00
s390 s390/hypfs: Enable limited access during lockdown 2025-08-28 16:28:50 +02:00
sh sh: Do not use hyphen in exported variable name 2025-08-15 12:08:56 +02:00
sparc
um um: Re-evaluate thread flags repeatedly 2025-08-28 16:28:21 +02:00
x86 x86/cpu/hygon: Add missing resctrl_cpu_detect() in bsp_init helper 2025-08-28 16:28:47 +02:00
xtensa
.gitignore
Kconfig