* [thomas-weissschuh:b4/auxclock-nanosleep 79/96] kernel/time/hrtimer.c:2247:undefined reference to `HRTIMER_BASE_AUX0'
@ 2026-07-15 18:33 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-15 18:33 UTC (permalink / raw)
To: Thomas Weißschuh ; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/auxclock-nanosleep
head: aae9c6fcfe1b60e4a63da0fe64f8ffe470b0fa29
commit: 69bfefa1c9bf52492df144e6ad0daf86f82a3727 [79/96] DELETEME
config: x86_64-rhel-9.4-bpf (https://download.01.org/0day-ci/archive/20260715/202607152003.P1bFkNGl-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260715/202607152003.P1bFkNGl-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607152003.P1bFkNGl-lkp@intel.com/
All errors (new ones prefixed by >>):
ld: vmlinux.o: in function `hrtimers_disable_clock':
>> kernel/time/hrtimer.c:2247:(.text+0x30fb3a): undefined reference to `HRTIMER_BASE_AUX0'
>> ld: kernel/time/hrtimer.c:2247:(.text+0x30fb4c): undefined reference to `HRTIMER_BASE_AUX0'
vim +2247 kernel/time/hrtimer.c
21d6d52a1b7028 Thomas Gleixner 2015-04-14 2241
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2242 #ifdef CONFIG_HRTIMER_ABORT
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2243 void hrtimers_disable_clock(clockid_t clock)
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2244 {
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2245 lockdep_assert(clockid_aux_valid(clock));
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2246
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 @2247 unsigned int base_index = BIT(HRTIMER_BASE_AUX0 + clock - CLOCK_AUX);
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2248 unsigned int base_index_soft = base_index << HRTIMER_BASE_MONOTONIC_SOFT;
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2249 unsigned long flags;
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2250 int cpu;
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2251
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2252 guard(cpus_read_lock)();
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2253
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2254 for_each_online_cpu(cpu) {
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2255 struct hrtimer_cpu_base *cpu_base = &per_cpu(hrtimer_bases, cpu);
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2256 ktime_t now;
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2257
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2258 raw_spin_lock_irqsave(&cpu_base->lock, flags);
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2259 now = hrtimer_update_base(cpu_base);
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2260 __hrtimer_run_queues(cpu_base, now, flags, base_index | base_index_soft);
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2261 raw_spin_unlock_irqrestore(&cpu_base->lock, flags);
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2262 }
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2263 }
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2264 #endif
10fa80a2a4c8ad Thomas Weißschuh 2026-07-15 2265
:::::: The code at line 2247 was first introduced by commit
:::::: 10fa80a2a4c8adf160a971f21e99fb6525581374 CONFIG_HRTIMER_ABORT
:::::: TO: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
:::::: CC: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-15 18:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-15 18:33 [thomas-weissschuh:b4/auxclock-nanosleep 79/96] kernel/time/hrtimer.c:2247:undefined reference to `HRTIMER_BASE_AUX0' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.