Re: [PATCH 55/74] lto, workaround: Add workaround for initcall reordering

2012-08-20 Thread Jan Beulich
>>> On 19.08.12 at 17:01, Andi Kleen wrote: > On Sun, Aug 19, 2012 at 09:46:04AM +0100, Jan Beulich wrote: >> >>> Andi Kleen 08/19/12 5:05 AM >>> >> >Work around a LTO gcc problem: when there is no reference to a variable >> >in a module it will be moved to the end of the program. This causes >>

Re: [PATCH 55/74] lto, workaround: Add workaround for initcall reordering

2012-08-20 Thread Jan Beulich
On 19.08.12 at 17:01, Andi Kleen a...@firstfloor.org wrote: On Sun, Aug 19, 2012 at 09:46:04AM +0100, Jan Beulich wrote: Andi Kleen a...@firstfloor.org 08/19/12 5:05 AM Work around a LTO gcc problem: when there is no reference to a variable in a module it will be moved to the end of the

Re: [PATCH 55/74] lto, workaround: Add workaround for initcall reordering

2012-08-19 Thread Andi Kleen
On Sun, Aug 19, 2012 at 09:46:04AM +0100, Jan Beulich wrote: > >>> Andi Kleen 08/19/12 5:05 AM >>> > >Work around a LTO gcc problem: when there is no reference to a variable > >in a module it will be moved to the end of the program. This causes > >reordering of initcalls which the kernel does not

Re: [PATCH 55/74] lto, workaround: Add workaround for initcall reordering

2012-08-19 Thread Jan Beulich
>>> Andi Kleen 08/19/12 5:05 AM >>> >Work around a LTO gcc problem: when there is no reference to a variable >in a module it will be moved to the end of the program. This causes >reordering of initcalls which the kernel does not like. >Add a dummy reference function to avoid this. The function is

Re: [PATCH 55/74] lto, workaround: Add workaround for initcall reordering

2012-08-19 Thread Jan Beulich
Andi Kleen a...@firstfloor.org 08/19/12 5:05 AM Work around a LTO gcc problem: when there is no reference to a variable in a module it will be moved to the end of the program. This causes reordering of initcalls which the kernel does not like. Add a dummy reference function to avoid this. The

Re: [PATCH 55/74] lto, workaround: Add workaround for initcall reordering

2012-08-19 Thread Andi Kleen
On Sun, Aug 19, 2012 at 09:46:04AM +0100, Jan Beulich wrote: Andi Kleen a...@firstfloor.org 08/19/12 5:05 AM Work around a LTO gcc problem: when there is no reference to a variable in a module it will be moved to the end of the program. This causes reordering of initcalls which the kernel

[PATCH 55/74] lto, workaround: Add workaround for initcall reordering

2012-08-18 Thread Andi Kleen
From: Andi Kleen Work around a LTO gcc problem: when there is no reference to a variable in a module it will be moved to the end of the program. This causes reordering of initcalls which the kernel does not like. Add a dummy reference function to avoid this. The function is deleted by the

[PATCH 55/74] lto, workaround: Add workaround for initcall reordering

2012-08-18 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com Work around a LTO gcc problem: when there is no reference to a variable in a module it will be moved to the end of the program. This causes reordering of initcalls which the kernel does not like. Add a dummy reference function to avoid this. The function is