> Several x86 files use ELF-related declarations and currently rely on them
> being provided indirectly through linux/module.h -> linux/elf.h:
> 
> * arch/x86/entry/entry_fred.c: ia32_enabled() -> asm/ia32.h,
> * arch/x86/entry/syscall_32.c: vdso32_image -> asm/vdso.h,
> * arch/x86/kernel/cpu/intel.c: ELF_HWCAP2 -> asm/elf.h,
> * arch/x86/kernel/fpu/xstate.c: elf_coredump_extra_notes_write(),
>   elf_coredump_extra_notes_size(), NT_X86_XSAVE_LAYOUT, elf_note ->
>   linux/elf.h,
> * arch/x86/kernel/process.c: mmap_is_ia32() -> asm/elf.h,
> * arch/x86/kernel/signal.c: get_sigframe_size() -> asm/elf.h.
> 
> Add the missing includes to these files in preparation for removing the
> linux/elf.h include from linux/module.h.
> 
> Signed-off-by: Petr Pavlu <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=1


Reply via email to