mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-09-18 23:09:29 +02:00
LoongArch: Remove CONFIG_GENERIC_GETTIMEOFDAY ifdeffery
Now that there is a definition of VDSO_CLOCKMODE_CPU even if no vDSO is built, the ugly ifdeffery can be removed. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260724-vdso-arch-clockmodes-v4-7-ddbe447be860@linutronix.de
This commit is contained in:
committed by
Thomas Gleixner
parent
f9217a8cc4
commit
1f8258de23
@@ -212,9 +212,7 @@ static struct clocksource clocksource_const = {
|
||||
.read = read_const_counter,
|
||||
.mask = CLOCKSOURCE_MASK(64),
|
||||
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
|
||||
#ifdef CONFIG_GENERIC_GETTIMEOFDAY
|
||||
.vdso_clock_mode = VDSO_CLOCKMODE_CPU,
|
||||
#endif
|
||||
};
|
||||
|
||||
int __init constant_clocksource_init(void)
|
||||
|
||||
Reference in New Issue
Block a user