tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.19
head: 1b8b03e93868a5a01c725d01dc50774854990358
commit: 0b9e593f5fb2c9cbb12e98204fc8f6fbffdb69a5 [15/20] FROMLIST: mm: multigenerational
lru: Kconfig
config: i386-randconfig-a012-20210709 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-4.19
git checkout 0b9e593f5fb2c9cbb12e98204fc8f6fbffdb69a5
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 prepare
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/memcontrol.h:29,
from include/linux/swap.h:9,
from include/linux/suspend.h:5,
from arch/x86/kernel/asm-offsets.c:13:
> include/linux/mm.h:844:2: error: #error LRU_USAGE_PGOFF <
NR_PAGEFLAGS
844 | #error LRU_USAGE_PGOFF < NR_PAGEFLAGS
| ^~~~~
arch/x86/kernel/asm-offsets.c:32:6: warning: no previous prototype for 'common'
[-Wmissing-prototypes]
32 | void common(void) {
| ^~~~~~
--
In file included from include/linux/scatterlist.h:8,
from include/linux/dma-mapping.h:11,
from include/linux/skbuff.h:34,
from include/crypto/algapi.h:18,
from include/crypto/internal/skcipher.h:16,
from arch/x86/crypto/glue_helper.c:31:
> include/linux/mm.h:844:2: error: #error LRU_USAGE_PGOFF <
NR_PAGEFLAGS
844 | #error LRU_USAGE_PGOFF < NR_PAGEFLAGS
| ^~~~~
--
In file included from include/linux/scatterlist.h:8,
from include/linux/dma-mapping.h:11,
from include/linux/skbuff.h:34,
from include/crypto/algapi.h:18,
from include/crypto/internal/skcipher.h:16,
from arch/x86/crypto/fpu.c:14:
> include/linux/mm.h:844:2: error: #error LRU_USAGE_PGOFF <
NR_PAGEFLAGS
844 | #error LRU_USAGE_PGOFF < NR_PAGEFLAGS
| ^~~~~
arch/x86/crypto/fpu.c:197:12: warning: no previous prototype for
'crypto_fpu_init' [-Wmissing-prototypes]
197 | int __init crypto_fpu_init(void)
| ^~~~~~~~~~~~~~~
arch/x86/crypto/fpu.c:202:6: warning: no previous prototype for
'crypto_fpu_exit' [-Wmissing-prototypes]
202 | void crypto_fpu_exit(void)
| ^~~~~~~~~~~~~~~
--
In file included from arch/x86/entry/common.c:13:
> include/linux/mm.h:844:2: error: #error LRU_USAGE_PGOFF <
NR_PAGEFLAGS
844 | #error LRU_USAGE_PGOFF < NR_PAGEFLAGS
| ^~~~~
In file included from arch/x86/include/asm/syscall.h:19,
from include/trace/events/syscalls.h:13,
from arch/x86/entry/common.c:37:
arch/x86/include/asm/asm-offsets.h:1:10: fatal error: generated/asm-offsets.h: No such
file or directory
1 | #include <generated/asm-offsets.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
--
In file included from include/linux/pid_namespace.h:7,
from include/linux/ptrace.h:10,
from include/uapi/asm-generic/bpf_perf_event.h:4,
from ./arch/x86/include/generated/uapi/asm/bpf_perf_event.h:1,
from include/uapi/linux/bpf_perf_event.h:11,
from include/linux/perf_event.h:18,
from arch/x86/events/core.c:15:
> include/linux/mm.h:844:2: error: #error LRU_USAGE_PGOFF <
NR_PAGEFLAGS
844 | #error LRU_USAGE_PGOFF < NR_PAGEFLAGS
| ^~~~~
arch/x86/events/core.c:2299:6: warning: no previous prototype for
'arch_perf_update_userpage' [-Wmissing-prototypes]
2299 | void arch_perf_update_userpage(struct perf_event *event,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from include/linux/kallsyms.h:12,
from arch/x86/kernel/traps.c:17:
> include/linux/mm.h:844:2: error: #error LRU_USAGE_PGOFF <
NR_PAGEFLAGS
844 | #error LRU_USAGE_PGOFF < NR_PAGEFLAGS
| ^~~~~
arch/x86/kernel/traps.c:949:13: warning: no previous prototype for 'trap_init'
[-Wmissing-prototypes]
949 | void __init trap_init(void)
| ^~~~~~~~~
--
In file included from include/linux/kallsyms.h:12,
from include/linux/ftrace.h:11,
from arch/x86/kernel/irq.c:10:
> include/linux/mm.h:844:2: error: #error LRU_USAGE_PGOFF <
NR_PAGEFLAGS
844 | #error LRU_USAGE_PGOFF < NR_PAGEFLAGS
| ^~~~~
arch/x86/kernel/irq.c:270:28: warning: no previous prototype for
'smp_x86_platform_ipi' [-Wmissing-prototypes]
270 | __visible void __irq_entry smp_x86_platform_ipi(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~
arch/x86/kernel/irq.c:301:16: warning: no previous prototype for
'smp_kvm_posted_intr_ipi' [-Wmissing-prototypes]
301 | __visible void smp_kvm_posted_intr_ipi(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/x86/kernel/irq.c:314:16: warning: no previous prototype for
'smp_kvm_posted_intr_wakeup_ipi' [-Wmissing-prototypes]
314 | __visible void smp_kvm_posted_intr_wakeup_ipi(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/kernel/irq.c:328:16: warning: no previous prototype for
'smp_kvm_posted_intr_nested_ipi' [-Wmissing-prototypes]
328 | __visible void smp_kvm_posted_intr_nested_ipi(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from include/linux/kallsyms.h:12,
from include/linux/ftrace.h:11,
from include/linux/kprobes.h:42,
from arch/x86/kernel/irqinit.c:11:
> include/linux/mm.h:844:2: error: #error LRU_USAGE_PGOFF <
NR_PAGEFLAGS
844 | #error LRU_USAGE_PGOFF < NR_PAGEFLAGS
| ^~~~~
arch/x86/kernel/irqinit.c:79:13: warning: no previous prototype for 'init_IRQ'
[-Wmissing-prototypes]
79 | void __init init_IRQ(void)
| ^~~~~~~~
--
In file included from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1350,
from arch/x86/kernel/quirks.c:6:
> include/linux/mm.h:844:2: error: #error LRU_USAGE_PGOFF <
NR_PAGEFLAGS
844 | #error LRU_USAGE_PGOFF < NR_PAGEFLAGS
| ^~~~~
arch/x86/kernel/quirks.c:672:13: warning: no previous prototype for
'early_platform_quirks' [-Wmissing-prototypes]
672 | void __init early_platform_quirks(void)
| ^~~~~~~~~~~~~~~~~~~~~
--
In file included from include/linux/pid_namespace.h:7,
from include/linux/ptrace.h:10,
from include/uapi/asm-generic/bpf_perf_event.h:4,
from ./arch/x86/include/generated/uapi/asm/bpf_perf_event.h:1,
from include/uapi/linux/bpf_perf_event.h:11,
from include/linux/perf_event.h:18,
from arch/x86/kernel/hw_breakpoint.c:30:
> include/linux/mm.h:844:2: error: #error LRU_USAGE_PGOFF <
NR_PAGEFLAGS
844 | #error LRU_USAGE_PGOFF < NR_PAGEFLAGS
| ^~~~~
arch/x86/kernel/hw_breakpoint.c: In function 'arch_build_bp_info':
arch/x86/kernel/hw_breakpoint.c:278:6: warning: this statement may fall through
[-Wimplicit-fallthrough=]
278 | if (attr->bp_len == sizeof(long)) {
| ^
arch/x86/kernel/hw_breakpoint.c:282:2: note: here
282 | default:
| ^~~~~~~
--
In file included from arch/x86/include/asm/tlbflush.h:5,
from arch/x86/include/asm/uv/uv.h:5,
from arch/x86/kernel/tsc.c:29:
> include/linux/mm.h:844:2: error: #error LRU_USAGE_PGOFF <
NR_PAGEFLAGS
844 | #error LRU_USAGE_PGOFF < NR_PAGEFLAGS
| ^~~~~
arch/x86/kernel/tsc.c:61:1: warning: 'inline' is not at beginning of
declaration [-Wold-style-declaration]
61 | void __always_inline cyc2ns_read_begin(struct cyc2ns_data *data)
| ^~~~
arch/x86/kernel/tsc.c:78:1: warning: 'inline' is not at beginning of
declaration [-Wold-style-declaration]
78 | void __always_inline cyc2ns_read_end(void)
| ^~~~
arch/x86/kernel/tsc.c:1525:15: warning: no previous prototype for
'calibrate_delay_is_known' [-Wmissing-prototypes]
1525 | unsigned long calibrate_delay_is_known(void)
| ^~~~~~~~~~~~~~~~~~~~~~~~
..
vim +844 include/linux/mm.h
348f8b6c4837a0 Dave Hansen 2005-06-23 842
baadcdd5c7434e Yu Zhao 2021-01-25 843 #if LRU_USAGE_PGOFF < NR_PAGEFLAGS
baadcdd5c7434e Yu Zhao 2021-01-25 @844 #error LRU_USAGE_PGOFF < NR_PAGEFLAGS
348f8b6c4837a0 Dave Hansen 2005-06-23 845 #endif
348f8b6c4837a0 Dave Hansen 2005-06-23 846
:::::: The code at line 844 was first introduced by commit
:::::: baadcdd5c7434e1b5dc25ac6f0810535353a10dd BACKPORT: FROMLIST: mm: multigenerational
lru: groundwork
:::::: TO: Yu Zhao <yuzhao(a)google.com>
:::::: CC: Commit Bot <commit-bot(a)chromium.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org