On Tue, Nov 08, 2011 at 11:30:48PM +0100, Michal Marek wrote: > On 8.11.2011 19:21, David Daney wrote: > > The problem is that compiler options meant to be used only for the > > compiling done by scripts/checksyscalls.sh are now leaking into the > > compilation of other parts of the kernel (asm-offsets.c), where they > > wreak havoc. > > > > Something like the attached is what I think needs to be done. > > Ah, right. That makes a lot of sense now. Ralf, does the patch at > https://lkml.org/lkml/2011/11/8/312 work for you? Yes, it does - and unlike David's first version this one also looks reasonably elegant. Acked-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Ralf