Re: [PATCH 0/8] x86: audit and remove needless module.h includes

From: Ingo Molnar
Date: Thu Jul 14 2016 - 09:04:52 EST



* Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> wrote:

> To that end, I have done allmodconfig, allyesconfig and allnoconfig
> for both 32 bit and 64 bit x86 with these changes on the linux-next
> from today, which presumably has an up to date copy of tip in it.

It does, still I get this on allnoconfig with your patches applied:

arch/x86/kernel/setup_percpu.c: In function âsetup_percpu_segmentâ:
arch/x86/kernel/setup_percpu.c:159:2: error: implicit declaration of function
âpack_descriptorâ [-Werror=implicit-function-declaration]
pack_descriptor(&gdt, per_cpu_offset(cpu), 0xFFFFF,
^
arch/x86/kernel/setup_percpu.c:162:2: error: implicit declaration of function
âwrite_gdt_entryâ [-Werror=implicit-function-declaration]
write_gdt_entry(get_cpu_gdt_table(cpu),
^
arch/x86/kernel/setup_percpu.c:162:18: error: implicit declaration of function
âget_cpu_gdt_tableâ [-Werror=implicit-function-declaration]
write_gdt_entry(get_cpu_gdt_table(cpu),

I'll continue testing with the setup_percpu.c change left out.

Thanks,

Ingo