|
@@ -76,7 +76,8 @@ struct ftrace_branch_data {
|
|
* Note: DISABLE_BRANCH_PROFILING can be used by special lowlevel code
|
|
* Note: DISABLE_BRANCH_PROFILING can be used by special lowlevel code
|
|
* to disable branch tracing on a per file basis.
|
|
* to disable branch tracing on a per file basis.
|
|
*/
|
|
*/
|
|
-#if defined(CONFIG_TRACE_BRANCH_PROFILING) && !defined(DISABLE_BRANCH_PROFILING)
|
|
|
|
|
|
+#if defined(CONFIG_TRACE_BRANCH_PROFILING) \
|
|
|
|
+ && !defined(DISABLE_BRANCH_PROFILING) && !defined(__CHECKER__)
|
|
void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect);
|
|
void ftrace_likely_update(struct ftrace_branch_data *f, int val, int expect);
|
|
|
|
|
|
#define likely_notrace(x) __builtin_expect(!!(x), 1)
|
|
#define likely_notrace(x) __builtin_expect(!!(x), 1)
|