summaryrefslogtreecommitdiff
path: root/include/linux/timex.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@kernel.org>2026-04-10 14:18:57 +0200
committerThomas Gleixner <tglx@kernel.org>2026-07-15 15:04:55 +0200
commitdfc256dac54c8b692110bf905c64cb130e15963d (patch)
tree4afc93732b58e322168f62f03d85753d6012c19a /include/linux/timex.h
parent3ed403bbc967a3138b8e37566510e9b062751372 (diff)
downloadlinux-next-dfc256dac54c8b692110bf905c64cb130e15963d.tar.gz
linux-next-dfc256dac54c8b692110bf905c64cb130e15963d.zip
calibrate: Rework delay timer calibration
The header define in asm/timex,h and the naming of the function to read the delay timer are confusing at best. Convert it to a config switch selected by the archictures which provide the functionality and rename the function to delay_read_timer(), which makes the purpose clear. Move the declaration to linux/delay.h where it belongs. Remove the resulting empty asm/timex.h files as well. No functional change. Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260410120317.978403520@kernel.org
Diffstat (limited to 'include/linux/timex.h')
-rw-r--r--include/linux/timex.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/timex.h b/include/linux/timex.h
index 4ee32eff3f22..7014ccc638fc 100644
--- a/include/linux/timex.h
+++ b/include/linux/timex.h
@@ -156,8 +156,6 @@ extern int do_clock_adjtime(const clockid_t which_clock, struct __kernel_timex *
extern void hardpps(const struct timespec64 *, const struct timespec64 *);
-int read_current_timer(unsigned long *timer_val);
-
/* The clock frequency of the i8253/i8254 PIT */
#define PIT_TICK_RATE 1193182ul