summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-01-16 19:07:45 +0300
committerThomas Gleixner <tglx@linutronix.de>2025-01-23 22:06:35 +0300
commit27af31e44949fa85550176520ef7086a0d00fd7b (patch)
treef2f86e5a9dbbca1f8c4035799862f39ba92e1bf9 /tools/perf/scripts/python/task-analyzer.py
parentc4b9570cfb63501638db720f3bee9f6dfd044b82 (diff)
downloadlinux-27af31e44949fa85550176520ef7086a0d00fd7b.tar.xz
hrtimers: Mark is_migration_base() with __always_inline
When is_migration_base() is unused, it prevents kernel builds with clang, `make W=1` and CONFIG_WERROR=y: kernel/time/hrtimer.c:156:20: error: unused function 'is_migration_base' [-Werror,-Wunused-function] 156 | static inline bool is_migration_base(struct hrtimer_clock_base *base) | ^~~~~~~~~~~~~~~~~ Fix this by marking it with __always_inline. [ tglx: Use __always_inline instead of __maybe_unused and move it into the usage sites conditional ] Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250116160745.243358-1-andriy.shevchenko@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions