summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Weißschuh (Schneider Electric) <thomas.weissschuh@linutronix.de>2026-08-03 12:04:32 +0200
committerThomas Gleixner <tglx@kernel.org>2026-08-11 18:11:19 +0200
commit4f39d3c19bdc6b9cd4a8de7cbc563264cac9a348 (patch)
treebe31993f6a6c8b194e8a4628f4b692e5bb6f305f /include
parent32a05ba399fc52661f59f38efd2e606f45eb2c8f (diff)
downloadlinux-stable-4f39d3c19bdc6b9cd4a8de7cbc563264cac9a348.tar.gz
linux-stable-4f39d3c19bdc6b9cd4a8de7cbc563264cac9a348.zip
timekeeping: Rename clockid_aux_valid() to clockid_is_aux_clock()
The current name is not clear about its behavior. Rename it. Signed-off-by: Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260803-auxclock-nanosleep-prep-v2-1-910cbd485390@linutronix.de
Diffstat (limited to 'include')
-rw-r--r--include/linux/posix-timers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/posix-timers.h b/include/linux/posix-timers.h
index 4117827efdb8..9a1a0c61361c 100644
--- a/include/linux/posix-timers.h
+++ b/include/linux/posix-timers.h
@@ -37,7 +37,7 @@ static inline int clockid_to_fd(const clockid_t clk)
return ~(clk >> 3);
}
-static inline bool clockid_aux_valid(clockid_t id)
+static inline bool clockid_is_aux_clock(clockid_t id)
{
return IS_ENABLED(CONFIG_POSIX_AUX_CLOCKS) && id >= CLOCK_AUX && id <= CLOCK_AUX_LAST;
}