tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core head: 9e3d6223d2093a8903c8f570a06284453ee59944 commit: 9e3d6223d2093a8903c8f570a06284453ee59944 [1/1] math64, timers: Fix 32bit mul_u64_u32_shr() and friends config: tile-allmodconfig (attached as .config) compiler: tilegx-linux-gcc (GCC) 4.6.2 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 git checkout 9e3d6223d2093a8903c8f570a06284453ee59944 # save the attached .config to linux build tree make.cross ARCH=tile
All errors (new ones prefixed by >>): In file included from drivers/media/dvb-frontends/lgdt3305.c:24:0: >> arch/tile/include/asm/div64.h:5:1: error: unknown type name 'u64' >> arch/tile/include/asm/div64.h:5:31: error: unknown type name 'u32' arch/tile/include/asm/div64.h:5:38: error: unknown type name 'u32' In file included from include/linux/time.h:6:0, from include/linux/ktime.h:24, from include/linux/rcupdate.h:47, from include/linux/srcu.h:33, from include/linux/notifier.h:15, from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:751, from include/linux/gfp.h:5, from include/linux/slab.h:14, from drivers/media/dvb-frontends/lgdt3305.c:26: include/linux/math64.h: In function 'mul_u64_u32_shr': >> include/linux/math64.h:173:2: error: implicit declaration of function >> 'mul_u32_u32' cc1: some warnings being treated as errors -- In file included from drivers/media/dvb-frontends/lgdt3306a.c:21:0: >> arch/tile/include/asm/div64.h:5:1: error: unknown type name 'u64' >> arch/tile/include/asm/div64.h:5:31: error: unknown type name 'u32' arch/tile/include/asm/div64.h:5:38: error: unknown type name 'u32' In file included from include/linux/time.h:6:0, from include/linux/ktime.h:24, from include/linux/rcupdate.h:47, from include/linux/idr.h:18, from include/linux/kernfs.h:14, from include/linux/sysfs.h:15, from include/linux/kobject.h:21, from include/linux/device.h:17, from include/linux/i2c.h:30, from drivers/media/dvb-frontends/lgdt3306a.h:21, from drivers/media/dvb-frontends/lgdt3306a.c:24: include/linux/math64.h: In function 'mul_u64_u32_shr': >> include/linux/math64.h:173:2: error: implicit declaration of function >> 'mul_u32_u32' cc1: some warnings being treated as errors -- In file included from drivers/media/dvb-frontends/lgs8gxx.c:26:0: >> arch/tile/include/asm/div64.h:5:1: error: unknown type name 'u64' >> arch/tile/include/asm/div64.h:5:31: error: unknown type name 'u32' arch/tile/include/asm/div64.h:5:38: error: unknown type name 'u32' In file included from include/linux/time.h:6:0, from include/linux/ktime.h:24, from include/linux/rcupdate.h:47, from include/linux/srcu.h:33, from include/linux/notifier.h:15, from include/linux/memory_hotplug.h:6, from include/linux/mmzone.h:751, from include/linux/gfp.h:5, from include/linux/firmware.h:6, from drivers/media/dvb-frontends/lgs8gxx.c:27: include/linux/math64.h: In function 'mul_u64_u32_shr': >> include/linux/math64.h:173:2: error: implicit declaration of function >> 'mul_u32_u32' cc1: some warnings being treated as errors -- In file included from drivers/media/dvb-frontends/atbm8830.c:22:0: >> arch/tile/include/asm/div64.h:5:1: error: unknown type name 'u64' >> arch/tile/include/asm/div64.h:5:31: error: unknown type name 'u32' arch/tile/include/asm/div64.h:5:38: error: unknown type name 'u32' In file included from include/linux/time.h:6:0, from include/uapi/linux/timex.h:56, from include/linux/timex.h:56, from include/linux/sched.h:19, from drivers/media/dvb-core/dvb_frontend.h:36, from drivers/media/dvb-frontends/atbm8830.c:23: include/linux/math64.h: In function 'mul_u64_u32_shr': >> include/linux/math64.h:173:2: error: implicit declaration of function >> 'mul_u32_u32' cc1: some warnings being treated as errors vim +/u64 +5 arch/tile/include/asm/div64.h 1 #ifndef _ASM_TILE_DIV64_H 2 #define _ASM_TILE_DIV64_H 3 4 #ifdef __tilegx__ > 5 static inline u64 mul_u32_u32(u32 a, u32 b) 6 { 7 return __insn_mul_lu_lu(a, b); 8 } --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip