tree: https://git.kernel.org/pub/scm/linux/kernel/git/rw/uml.git linux-next
head: 5b4236e17cc1bd9fa14b2b0c7a4ae632d41f2e20
commit: 8bba077066d6d0a135b7be1970691522075bf905 [2/5] um: Set number of CPUs
config: um-x86_64_defconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 8bba077066d6d0a135b7be1970691522075bf905
# save the attached .config to linux build tree
make ARCH=um SUBARCH=x86_64
All errors (new ones prefixed by >>):
>> arch/um/os-Linux/skas/process.c:236:19: error: 'NR_CPUS' undeclared here (not in a function)
int userspace_pid[NR_CPUS];
^~~~~~~
vim +/NR_CPUS +236 arch/um/os-Linux/skas/process.c
abaf6977 Gennady Sharapov 2006-01-18 230 }
abaf6977 Gennady Sharapov 2006-01-18 231
512b6fb1 Jeff Dike 2007-10-16 232 kill(os_getpid(), SIGSTOP);
ba180fd4 Jeff Dike 2007-10-16 233 return 0;
abaf6977 Gennady Sharapov 2006-01-18 234 }
abaf6977 Gennady Sharapov 2006-01-18 235
abaf6977 Gennady Sharapov 2006-01-18 @236 int userspace_pid[NR_CPUS];
abaf6977 Gennady Sharapov 2006-01-18 237
abaf6977 Gennady Sharapov 2006-01-18 238 int start_userspace(unsigned long stub_stack)
abaf6977 Gennady Sharapov 2006-01-18 239 {
:::::: The code at line 236 was first introduced by commit
:::::: abaf69773d8dda98b917d94c07757f6520da7bec [PATCH] uml: move libc-dependent skas process handling
:::::: TO: Gennady Sharapov <Gen...@in...>
:::::: CC: Linus Torvalds <tor...@g5...>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
|