Re: [PATCH] x86/alternatives: add stack frame dependency to alternative_call_2()

2016-09-23 Thread Linus Torvalds
On Fri, Sep 23, 2016 at 2:49 PM, Josh Poimboeuf wrote: > > Reported-by: Linus Torvalds Works for me. So: Reported-and-tested-by: Linus Torvalds but I don't think I'll apply this to my tree now, since it's largely harmless, and we're already going to do an rc8 and I worry that it will end up

[PATCH] x86/alternatives: add stack frame dependency to alternative_call_2()

2016-09-23 Thread Josh Poimboeuf
Linus reported the following objtool warning: kernel/signal.o: warning: objtool: .altinstr_replacement+0x54: call without frame pointer save/setup The warning is valid. It's caused by the fact that gcc placed the call instruction in alternative_call_2()'s inline asm before the frame pointer s