[PATCH] powerpc64/kasan: Call kasan_early_init() after PACA initialised
    Christophe Leroy 
    christophe.leroy at csgroup.eu
       
    Fri Jul  7 14:44:50 AEST 2023
    
    
  
Le 07/07/2023 à 04:20, Benjamin Gray a écrit :
> The inclusion of kasan_early_init() is conditional on CONFIG_KASAN, so
> 
>    if(IS_ENABLED(CONFIG_KASAN))
>        kasan_early_init();
> 
> wouldn't work.
See my comment on the main patch, just do like kasan_init() and others 
in arch/powerpc/include/asm/kasan.h : Define a stub for when 
CONFIG_KASAN is not selected.
    
    
More information about the Linuxppc-dev
mailing list