[PATCH v5 6/8] x86/module: perpare module loading for ROX allocations of text
    Christoph Hellwig 
    hch at infradead.org
       
    Thu Oct 10 17:57:00 AEDT 2024
    
    
  
> +extern void apply_alternatives(struct alt_instr *start, struct alt_instr *end,
> +			       struct module *mod);
> +extern void apply_retpolines(s32 *start, s32 *end, struct module *mod);
> +extern void apply_returns(s32 *start, s32 *end, struct module *mod);
> +extern void apply_seal_endbr(s32 *start, s32 *end, struct module *mod);
>  extern void apply_fineibt(s32 *start_retpoline, s32 *end_retpoine,
> -			  s32 *start_cfi, s32 *end_cfi);
> -
> -struct module;
> +			  s32 *start_cfi, s32 *end_cfi, struct module *mod);
Please drop all the pointless externs while you're at it.
Otherwise looks good:
Reviewed-by: Christoph Hellwig <hch at lst.de>
    
    
More information about the Linuxppc-dev
mailing list