Re: [PATCH 2/2] fentry: x86, cleanup function_hook uses

From: H. Peter Anvin
Date: Tue Apr 29 2014 - 03:28:37 EST


On 04/29/2014 12:24 AM, Jiri Slaby wrote:
> Let's define fentry_hook depending on CC_USING_FENTRY and use that
> macro all over. This saves some #ifdef's here and there.

Any reason not to use the existing macro name function_hook?

(Valid reasons include "too generic". However, please motivate in the
commit message.)

-hpa

--
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/