]> Gentwo Git Trees - linux/.git/commit
powerpc/vdso: Prepare introduction of struct vdso_clock
authorNam Cao <namcao@linutronix.de>
Mon, 3 Mar 2025 11:11:19 +0000 (12:11 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 8 Mar 2025 13:37:41 +0000 (14:37 +0100)
commited0c10f34ffd94d6e0d37b830c232f7ca38ea174
tree51bb92fe6890c56e0b7c82303efe0ac2253f7a26
parent5340f3cb20989ec9562f7fcd65005e25b2365e6a
powerpc/vdso: Prepare introduction of struct vdso_clock

To support multiple PTP clocks, the VDSO data structure needs to be
reworked. All clock specific data will end up in struct vdso_clock and in
struct vdso_time_data there will be array of VDSO clocks. At the moment,
vdso_clock is simply a define which maps vdso_clock to vdso_time_data.

To prepare for the rework of the data structures, replace the struct
vdso_time_data pointer with a struct vdso_clock pointer where applicable.

No functional change.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250303-vdso-clock-v1-17-c1b5c69a166f@linutronix.de
arch/powerpc/include/asm/vdso/gettimeofday.h