From: kbuild test robot <fengguang.wu@intel.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, tipbuild@zytor.com
Subject: [tip:WIP.x86/pti 22/54] arch/x86/include/asm/pgtable_32_types.h:48:4: error: 'FIXADDR_START' undeclared
Date: Thu, 21 Dec 2017 06:32:08 +0800 [thread overview]
Message-ID: <201712210602.PmcJ2Ozx%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3675 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/pti
head: 448c49e07e52076586e9e706212298d865ad7a27
commit: 8b65ec93225592fbc35ab8107fd880e505aae1ef [22/54] x86/cpu_entry_area: Move it out of fixmap
config: i386-randconfig-x016-201751 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
git checkout 8b65ec93225592fbc35ab8107fd880e505aae1ef
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
In file included from arch/x86/include/asm/pgtable_types.h:261:0,
from arch/x86/include/asm/paravirt_types.h:45,
from arch/x86/include/asm/ptrace.h:92,
from arch/x86/include/asm/math_emu.h:5,
from arch/x86/include/asm/processor.h:12,
from arch/x86/include/asm/cpufeature.h:5,
from arch/x86/include/asm/thread_info.h:53,
from include/linux/thread_info.h:38,
from arch/x86/include/asm/preempt.h:7,
from include/linux/preempt.h:81,
from include/linux/percpu.h:6,
from arch/x86/mm/cpu_entry_area.c:3:
arch/x86/include/asm/cpu_entry_area.h: In function 'get_cpu_entry_area':
>> arch/x86/include/asm/pgtable_32_types.h:48:4: error: 'FIXADDR_START' undeclared (first use in this function)
((FIXADDR_START - PAGE_SIZE * (CPU_ENTRY_AREA_PAGES + 1)) & PMD_MASK)
^
>> arch/x86/include/asm/cpu_entry_area.h:53:32: note: in expansion of macro 'CPU_ENTRY_AREA_BASE'
#define CPU_ENTRY_AREA_RO_IDT CPU_ENTRY_AREA_BASE
^~~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/cpu_entry_area.h:54:34: note: in expansion of macro 'CPU_ENTRY_AREA_RO_IDT'
#define CPU_ENTRY_AREA_PER_CPU (CPU_ENTRY_AREA_RO_IDT + PAGE_SIZE)
^~~~~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/cpu_entry_area.h:63:21: note: in expansion of macro 'CPU_ENTRY_AREA_PER_CPU'
unsigned long va = CPU_ENTRY_AREA_PER_CPU + cpu * CPU_ENTRY_AREA_SIZE;
^~~~~~~~~~~~~~~~~~~~~~
arch/x86/include/asm/pgtable_32_types.h:48:4: note: each undeclared identifier is reported only once for each function it appears in
((FIXADDR_START - PAGE_SIZE * (CPU_ENTRY_AREA_PAGES + 1)) & PMD_MASK)
^
>> arch/x86/include/asm/cpu_entry_area.h:53:32: note: in expansion of macro 'CPU_ENTRY_AREA_BASE'
#define CPU_ENTRY_AREA_RO_IDT CPU_ENTRY_AREA_BASE
^~~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/cpu_entry_area.h:54:34: note: in expansion of macro 'CPU_ENTRY_AREA_RO_IDT'
#define CPU_ENTRY_AREA_PER_CPU (CPU_ENTRY_AREA_RO_IDT + PAGE_SIZE)
^~~~~~~~~~~~~~~~~~~~~
>> arch/x86/include/asm/cpu_entry_area.h:63:21: note: in expansion of macro 'CPU_ENTRY_AREA_PER_CPU'
unsigned long va = CPU_ENTRY_AREA_PER_CPU + cpu * CPU_ENTRY_AREA_SIZE;
^~~~~~~~~~~~~~~~~~~~~~
In file included from arch/x86/mm/cpu_entry_area.c:5:0:
arch/x86/include/asm/pgtable.h: At top level:
arch/x86/include/asm/pgtable.h:47:8: error: unknown type name 'spinlock_t'
extern spinlock_t pgd_lock;
^~~~~~~~~~
vim +/FIXADDR_START +48 arch/x86/include/asm/pgtable_32_types.h
46
47 #define CPU_ENTRY_AREA_BASE \
> 48 ((FIXADDR_START - PAGE_SIZE * (CPU_ENTRY_AREA_PAGES + 1)) & PMD_MASK)
49
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 29581 bytes --]
reply other threads:[~2017-12-20 22:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201712210602.PmcJ2Ozx%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=tipbuild@zytor.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®