[PATCH v12 08/21] x86/paravirt: Add stack frame dependency to PVOP inline asm calls

2015-09-09 Thread Josh Poimboeuf
If a PVOP call macro is inlined at the beginning of a function, gcc can insert the call instruction before setting up a stack frame, which breaks frame pointer convention if CONFIG_FRAME_POINTER is enabled and can result in a bad stack trace. Force a stack frame to be created if

[PATCH v12 08/21] x86/paravirt: Add stack frame dependency to PVOP inline asm calls

2015-09-09 Thread Josh Poimboeuf
If a PVOP call macro is inlined at the beginning of a function, gcc can insert the call instruction before setting up a stack frame, which breaks frame pointer convention if CONFIG_FRAME_POINTER is enabled and can result in a bad stack trace. Force a stack frame to be created if