diff options
| author | Thomas Weißschuh (Schneider Electric) <thomas.weissschuh@linutronix.de> | 2026-08-03 12:04:32 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-08-11 18:11:19 +0200 |
| commit | 4f39d3c19bdc6b9cd4a8de7cbc563264cac9a348 (patch) | |
| tree | be31993f6a6c8b194e8a4628f4b692e5bb6f305f /include | |
| parent | 32a05ba399fc52661f59f38efd2e606f45eb2c8f (diff) | |
| download | linux-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.h | 2 |
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; } |
