Re: [PATCH v2 2/2] x86, stackvalidate: Add asm frame pointer setup macros

From: H. Peter Anvin
Date: Mon May 04 2015 - 16:34:46 EST


On 05/04/2015 01:23 PM, Josh Poimboeuf wrote:
> + __ASM_SIZE(push, _cfi) %_ASM_BP
> + __ASM_SIZE(pop, _cfi) %_ASM_BP

This seems ridiculous. push/pop only come in one size per
architecture(*). Can we make it so that just push_cfi and pop_cfi do
the right things?

-hpa

(*) Intentionally ignoring 16 bit here...


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/