[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201712170909.kkgeafTk%fengguang.wu@intel.com>
Date: Sun, 17 Dec 2017 09:24:19 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Andy Lutomirski <luto@...nel.org>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org,
tipbuild@...or.com, Thomas Gleixner <tglx@...utronix.de>
Subject: [tip:WIP.x86/pti-upstream 38/50]
arch/x86/include/asm/mmu_context.h:73:18: error: 'LDT_BASE_ADDR' undeclared;
did you mean '_ASM_ADD'?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/pti-upstream
head: 78e4da51f7c77587cc6f419af4f63a21b289bdb7
commit: 7e482cfe4a23ead21215423c4566c8516ba21025 [38/50] x86/pti: Put the LDT in its own PGD if PTI is on
config: i386-alldefconfig (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
git checkout 7e482cfe4a23ead21215423c4566c8516ba21025
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
In file included from arch/x86/kernel/step.c:10:0:
arch/x86/include/asm/mmu_context.h: In function 'ldt_slot_va':
>> arch/x86/include/asm/mmu_context.h:73:18: error: 'LDT_BASE_ADDR' undeclared (first use in this function); did you mean '_ASM_ADD'?
return (void *)(LDT_BASE_ADDR + LDT_SLOT_STRIDE * slot);
^~~~~~~~~~~~~
_ASM_ADD
arch/x86/include/asm/mmu_context.h:73:18: note: each undeclared identifier is reported only once for each function it appears in
vim +73 arch/x86/include/asm/mmu_context.h
70
71 static inline void *ldt_slot_va(int slot)
72 {
> 73 return (void *)(LDT_BASE_ADDR + LDT_SLOT_STRIDE * slot);
74 }
75
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (10672 bytes)
Powered by blists - more mailing lists