Re: [PATCH 2/2] modpost: don't emit section mismatch warnings for compiler optimizations

2015-04-19 Thread Rusty Russell
Paul Gortmaker writes: > Currently an allyesconfig build [gcc-4.9.1] can generate the following: > >WARNING: vmlinux.o(.text.unlikely+0x3864): Section mismatch in >reference from the function cpumask_empty.constprop.3() to the >variable .init.data:nmi_ipi_mask > > which comes from the

[PATCH 2/2] modpost: don't emit section mismatch warnings for compiler optimizations

2015-04-19 Thread Paul Gortmaker
Currently an allyesconfig build [gcc-4.9.1] can generate the following: WARNING: vmlinux.o(.text.unlikely+0x3864): Section mismatch in reference from the function cpumask_empty.constprop.3() to the variable .init.data:nmi_ipi_mask which comes from the cpumask_empty usage in arch/x86/kern