Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clocksource: Remove ARCH_CLOCKSOURCE_DATA

After sparc64, there are no remaining users of ARCH_CLOCKSOURCE_DATA
and it can just be removed.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: Andreas Larsson <andreas@gaisler.com>
Reviewed-by: Andreas Larsson <andreas@gaisler.com>
Acked-by: John Stultz <jstultz@google.com>
Link: https://patch.msgid.link/20260304-vdso-sparc64-generic-2-v6-14-d8eb3b0e1410@linutronix.de

[Thomas: drop sparc64 bits from the patch]

authored by

Arnd Bergmann and committed by
Thomas Gleixner
c453b9ab 1628f6a7

+1 -9
+1 -5
include/linux/clocksource.h
··· 25 25 struct clocksource; 26 26 struct module; 27 27 28 - #if defined(CONFIG_ARCH_CLOCKSOURCE_DATA) || \ 29 - defined(CONFIG_GENERIC_GETTIMEOFDAY) 28 + #if defined(CONFIG_GENERIC_GETTIMEOFDAY) 30 29 #include <asm/clocksource.h> 31 30 #endif 32 31 ··· 105 106 u64 max_idle_ns; 106 107 u32 maxadj; 107 108 u32 uncertainty_margin; 108 - #ifdef CONFIG_ARCH_CLOCKSOURCE_DATA 109 - struct arch_clocksource_data archdata; 110 - #endif 111 109 u64 max_cycles; 112 110 u64 max_raw_delta; 113 111 const char *name;
-4
kernel/time/Kconfig
··· 9 9 config CLOCKSOURCE_WATCHDOG 10 10 bool 11 11 12 - # Architecture has extra clocksource data 13 - config ARCH_CLOCKSOURCE_DATA 14 - bool 15 - 16 12 # Architecture has extra clocksource init called from registration 17 13 config ARCH_CLOCKSOURCE_INIT 18 14 bool