[PATCH v8 4/9] clocksource/drivers/arm_arch_timer: use readq to get 64-bit CNTVCT
From: kbuild test robot <hidden>
Date: 2016-07-24 20:27:44
Also in:
linux-acpi, linux-watchdog, lkml
Hi, [auto build test ERROR on stable/master] [cannot apply to tip/timers/core pm/linux-next next-20160724] [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/fu-wei-linaro-org/acpi-clocksource-add-GTDT-driver-and-GTDT-support-in-arm_arch_timer/20160725-022614 base: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git master config: arm-sunxi_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 5.4.0-6) 5.4.0 20160609 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=arm All errors (new ones prefixed by >>): drivers/clocksource/arm_arch_timer.c: In function 'arch_counter_get_cntvct_mem':
quoted
drivers/clocksource/arm_arch_timer.c:421:9: error: implicit declaration of function 'readq' [-Werror=implicit-function-declaration]
return readq(arch_counter_base + CNTVCT_LO);
^
cc1: some warnings being treated as errors
vim +/readq +421 drivers/clocksource/arm_arch_timer.c
415 {
416 return arch_timer_rate;
417 }
418
419 static u64 arch_counter_get_cntvct_mem(void)
420 {
> 421 return readq(arch_counter_base + CNTVCT_LO);
422 }
423
424 /*
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 19385 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160725/6fab7e8c/attachment-0001.obj>