Re: [PATCH 4/4] kernel/time/clockevents: compensate for monotonic clock's dynamic frequency

From: kbuild test robot
Date: Sun Jul 10 2016 - 09:57:24 EST


Hi,

[auto build test ERROR on tip/timers/core]
[also build test ERROR on v4.7-rc6 next-20160708]
[cannot apply to tip/x86/core]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Nicolai-Stange/avoid-double-timer-interrupt-with-nohz-and-Intel-TSC/20160710-202914
config: sh-sh7785lcr_32bit_defconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sh

All errors (new ones prefixed by >>):

kernel/built-in.o: In function `timekeeping_mono_interval_to_raw':
>> kernel/time/timekeeping.c:2164: undefined reference to `__divdi3'

vim +2164 kernel/time/timekeeping.c

2158 * that is they cancel.
2159 */
2160 if (KTIME_MAX / raw_mult < interval)
2161 return KTIME_MAX;
2162 raw = interval * raw_mult;
2163
> 2164 if (KTIME_MAX - mono_mult / 2 < raw)
2165 return KTIME_MAX;
2166 raw += mono_mult / 2; /* round properly */
2167 raw /= mono_mult;

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data