[tip:WIP.timers/core 49/68] include/linux/sched/types.h:16:2: error: unknown type name 'u64'

From: kbuild test robot
Date: Mon Aug 19 2019 - 17:09:31 EST


tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/tip/tip.git WIP.timers/core
head: b16101077c4444bc7e0dde91e7ffb258ce1f979b
commit: 83083078874a3b1b29b8171714455b469a17b8ab [49/68] sched: Move struct task_cputime to types.h
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 83083078874a3b1b29b8171714455b469a17b8ab
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=sparc64

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from <command-line>:0:0:
>> include/linux/sched/types.h:16:2: error: unknown type name 'u64'
u64 utime;
^~~
include/linux/sched/types.h:17:2: error: unknown type name 'u64'
u64 stime;
^~~

vim +/u64 +16 include/linux/sched/types.h

4
5 /**
6 * struct task_cputime - collected CPU time counts
7 * @utime: time spent in user mode, in nanoseconds
8 * @stime: time spent in kernel mode, in nanoseconds
9 * @sum_exec_runtime: total time spent on the CPU, in nanoseconds
10 *
11 * This structure groups together three kinds of CPU time that are tracked for
12 * threads and thread groups. Most things considering CPU time want to group
13 * these counts together and treat all three of them in parallel.
14 */
15 struct task_cputime {
> 16 u64 utime;
17 u64 stime;
18 unsigned long long sum_exec_runtime;
19 };
20

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

Attachment: .config.gz
Description: application/gzip