summaryrefslogtreecommitdiff
path: root/include/linux/sched/smt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sched/smt.h')
-rw-r--r--include/linux/sched/smt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched/smt.h b/include/linux/sched/smt.h
index fb1e295e7e63..166b19af956f 100644
--- a/include/linux/sched/smt.h
+++ b/include/linux/sched/smt.h
@@ -12,7 +12,7 @@ static __always_inline bool sched_smt_active(void)
return static_branch_likely(&sched_smt_present);
}
#else
-static inline bool sched_smt_active(void) { return false; }
+static __always_inline bool sched_smt_active(void) { return false; }
#endif
void arch_smt_update(void);