On Mon, 26 Jan 2015 16:03:19 +0100
Heiko Carstens <heiko.carst...@de.ibm.com> wrote:

> Actually they should be mutually exclusive. I just merged them "just in case".
> 
> So something like this
> 
> #ifdef CC_USING_HOTPATCH
> #define notrace __attribute__((hotpatch(0,0)))
> #else
> #define notrace __attribute__((no_instrument_function))
> #endif
> 
> will work as well (just tested).

I think the above change looks cleaner.

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

Reply via email to