[tip:timers/urgent 2/4] include/linux/futex.h:10:51: error: unknown type name 'ktime_t'

From: kbuild test robot
Date: Sun Dec 25 2016 - 10:00:22 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/urgent
head: 75f62a4c59d4fce751f8ee71f87955943fd69b74
commit: 64dac5c9e0f5a933e4520f0cb689b7b143925207 [2/4] ktime: Get rid of the union
config: frv-defconfig (attached as .config)
compiler: frv-linux-gcc (GCC) 6.2.0
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 64dac5c9e0f5a933e4520f0cb689b7b143925207
# save the attached .config to linux build tree
make.cross ARCH=frv

All errors (new ones prefixed by >>):

In file included from arch/frv/kernel/futex.c:12:0:
>> include/linux/futex.h:10:51: error: unknown type name 'ktime_t'
long do_futex(u32 __user *uaddr, int op, u32 val, ktime_t *timeout,
^~~~~~~

vim +/ktime_t +10 include/linux/futex.h

4 #include <uapi/linux/futex.h>
5
6 struct inode;
7 struct mm_struct;
8 struct task_struct;
9
> 10 long do_futex(u32 __user *uaddr, int op, u32 val, ktime_t *timeout,
11 u32 __user *uaddr2, u32 val2, u32 val3);
12
13 extern int

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

Attachment: .config.gz
Description: application/gzip