On 09/09/15 14:21, Josh Poimboeuf wrote: > If a hypercall 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 CONFIG_FRAME_POINTER is enabled by > listing the stack pointer as an output operand for the hypercall inline > asm statements.
Reviewed-by: David Vrabel <david.vra...@citrix.com> David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/