[RFC 3/5] powerpc: kvm: drop 32-bit book3s

Christophe Leroy christophe.leroy at csgroup.eu
Fri Dec 13 02:27:32 PST 2024



Le 13/12/2024 à 11:04, Arnd Bergmann a écrit :
> diff --git a/arch/powerpc/kernel/head_32.h b/arch/powerpc/kernel/head_32.h
> index 9cba7dbf58dd..24e89dadc74d 100644
> --- a/arch/powerpc/kernel/head_32.h
> +++ b/arch/powerpc/kernel/head_32.h
> @@ -172,7 +172,6 @@ _ASM_NOKPROBE_SYMBOL(\name\()_virt)
>   #define	START_EXCEPTION(n, label)		\
>   	__HEAD;					\
>   	. = n;					\
> -	DO_KVM n;				\
>   label:
>   
>   #else

Then the complete macro should go away because both versions are now 
identical:

-#ifdef CONFIG_PPC_BOOK3S
-#define	START_EXCEPTION(n, label)		\
-	__HEAD;					\
-	. = n;					\
-label:
-
-#else
  #define	START_EXCEPTION(n, label)		\
  	__HEAD;					\
  	. = n;					\
  label:

-#endif





More information about the linux-riscv mailing list