diff --git a/include/linux/compiler_types.h b/include/linux/compiler_types.h index 2b8ed70c4c7744af0a581a3ce3edba06a79586f4..61e3212457db915684e98eb331881b5c68e933c0 100644 --- a/include/linux/compiler_types.h +++ b/include/linux/compiler_types.h @@ -230,6 +230,8 @@ struct ftrace_likely_data { #if defined(CC_USING_HOTPATCH) && !defined(__CHECKER__) #define notrace __attribute__((hotpatch(0, 0))) +#elif defined(CC_USING_PATCHABLE_FUNCTION_ENTRY) +#define notrace __attribute__((patchable_function_entry(0, 0))) #else #define notrace __attribute__((no_instrument_function)) #endif