[tip:WIP.x86/pti 21/54] arch/x86/include/asm/pgtable.h:47:8: error: unknown type name 'spinlock_t'
From: kbuild test robot
Date: Wed Dec 20 2017 - 17:21:41 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/pti
head: 448c49e07e52076586e9e706212298d865ad7a27
commit: f443b8fc21e63b63b3064974c27ab78cbcb39c07 [21/54] x86/cpu_entry_area: Move it to a separate unit
config: x86_64-randconfig-x011-201751 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
git checkout f443b8fc21e63b63b3064974c27ab78cbcb39c07
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
In file included from arch/x86/mm/cpu_entry_area.c:5:0:
>> arch/x86/include/asm/pgtable.h:47:8: error: unknown type name 'spinlock_t'
extern spinlock_t pgd_lock;
^~~~~~~~~~
vim +/spinlock_t +47 arch/x86/include/asm/pgtable.h
8405b122 include/asm-x86/pgtable.h Jeremy Fitzhardinge 2008-01-30 46
e3ed910d include/asm-x86/pgtable.h Jeremy Fitzhardinge 2008-01-30 @47 extern spinlock_t pgd_lock;
e3ed910d include/asm-x86/pgtable.h Jeremy Fitzhardinge 2008-01-30 48 extern struct list_head pgd_list;
8405b122 include/asm-x86/pgtable.h Jeremy Fitzhardinge 2008-01-30 49
:::::: The code at line 47 was first introduced by commit
:::::: e3ed910db221768f8fd6192b13373e17d61bcdf0 x86: use the same pgd_list for PAE and 64-bit
:::::: TO: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
:::::: CC: Ingo Molnar <mingo@xxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip