Skip to contentSkip to conversation

timekeeping: document vdso_clock_mode member of struct clocksource

PATCH New Kit Dallege 1 participant 1 message Mar 15 Timekeeping, clocksource core, NTP, alarmtimer

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 timekeeping: document vdso_clock_mode member of struct clocksource

Add kernel-doc entry for the @vdso_clock_mode member that was missing from struct clocksource.

Assisted-by Claude:claude-opus-4-6
---
 include/linux/clocksource.h | 2 ++
 1 file changed, 2 insertions(+)
include/linux/clocksource.h +2 -0
index 65b7c41471c3..05d5f0254959 100644
@@ -72,6 +72,8 @@ struct module;
  *			in certain snapshot functions to allow callers to
  *			validate the clocksource from which the snapshot was
  *			taken.
+ * @vdso_clock_mode:	VDSO clock mode, used to map the clocksource to
+ *			a VDSO-capable clock for userspace fast paths.
  * @flags:		Flags describing special properties
  * @base:		Hardware abstraction for clock on which a clocksource
  *			is based
Signature · 1 line
2.53.0