* [mel:mm-pcpburst-v1r9 34/35] include/linux/pageblock-flags.h:41:26: error: 'HUGETLB_PAGE_ORDER' undeclared
@ 2021-04-28 18:13 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-28 18:13 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 9698 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git mm-pcpburst-v1r9
head: 60fa83501766fa9c5b4ecd90081a73f882e0010e
commit: 0e71b8ff3f729b152f99463dd7822d34f0fd1c23 [34/35] mm/page_alloc: Allow high-order pages to be stored on the per-cpu lists
config: arm64-randconfig-r015-20210428 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git/commit/?id=0e71b8ff3f729b152f99463dd7822d34f0fd1c23
git remote add mel https://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git
git fetch --no-tags mel mm-pcpburst-v1r9
git checkout 0e71b8ff3f729b152f99463dd7822d34f0fd1c23
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/bits.h:22,
from include/linux/ioport.h:13,
from include/linux/acpi.h:12,
from include/acpi/apei.h:9,
from include/acpi/ghes.h:5,
from include/linux/arm_sdei.h:8,
from arch/arm64/kernel/asm-offsets.c:10:
include/linux/mmzone.h: In function 'order_to_pindex':
>> include/linux/pageblock-flags.h:41:26: error: 'HUGETLB_PAGE_ORDER' undeclared (first use in this function)
41 | #define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:30:63: note: in definition of macro 'BUILD_BUG_ON_INVALID'
30 | #define BUILD_BUG_ON_INVALID(e) ((void)(sizeof((__force long)(e))))
| ^
include/linux/mmzone.h:349:3: note: in expansion of macro 'VM_BUG_ON'
349 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~
include/linux/mmzone.h:349:22: note: in expansion of macro 'pageblock_order'
349 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:41:26: note: each undeclared identifier is reported only once for each function it appears in
41 | #define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:30:63: note: in definition of macro 'BUILD_BUG_ON_INVALID'
30 | #define BUILD_BUG_ON_INVALID(e) ((void)(sizeof((__force long)(e))))
| ^
include/linux/mmzone.h:349:3: note: in expansion of macro 'VM_BUG_ON'
349 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~
include/linux/mmzone.h:349:22: note: in expansion of macro 'pageblock_order'
349 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~~~~~~~
In file included from include/linux/mmzone.h:18,
from include/linux/gfp.h:6,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:19,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from include/acpi/apei.h:9,
from include/acpi/ghes.h:5,
from include/linux/arm_sdei.h:8,
from arch/arm64/kernel/asm-offsets.c:10:
include/linux/mmzone.h: In function 'pindex_to_order':
>> include/linux/pageblock-flags.h:41:26: error: 'HUGETLB_PAGE_ORDER' undeclared (first use in this function)
41 | #define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/mmzone.h:361:11: note: in expansion of macro 'pageblock_order'
361 | order = pageblock_order;
| ^~~~~~~~~~~~~~~
include/linux/mmzone.h: In function 'pcp_allowed_order':
>> include/linux/pageblock-flags.h:41:26: error: 'HUGETLB_PAGE_ORDER' undeclared (first use in this function)
41 | #define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/mmzone.h:369:12: note: in expansion of macro 'pageblock_order'
369 | order == pageblock_order;
| ^~~~~~~~~~~~~~~
--
In file included from include/linux/bits.h:22,
from include/linux/ioport.h:13,
from include/linux/acpi.h:12,
from include/acpi/apei.h:9,
from include/acpi/ghes.h:5,
from include/linux/arm_sdei.h:8,
from arch/arm64/kernel/asm-offsets.c:10:
include/linux/mmzone.h: In function 'order_to_pindex':
>> include/linux/pageblock-flags.h:41:26: error: 'HUGETLB_PAGE_ORDER' undeclared (first use in this function)
41 | #define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:30:63: note: in definition of macro 'BUILD_BUG_ON_INVALID'
30 | #define BUILD_BUG_ON_INVALID(e) ((void)(sizeof((__force long)(e))))
| ^
include/linux/mmzone.h:349:3: note: in expansion of macro 'VM_BUG_ON'
349 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~
include/linux/mmzone.h:349:22: note: in expansion of macro 'pageblock_order'
349 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~~~~~~~
include/linux/pageblock-flags.h:41:26: note: each undeclared identifier is reported only once for each function it appears in
41 | #define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:30:63: note: in definition of macro 'BUILD_BUG_ON_INVALID'
30 | #define BUILD_BUG_ON_INVALID(e) ((void)(sizeof((__force long)(e))))
| ^
include/linux/mmzone.h:349:3: note: in expansion of macro 'VM_BUG_ON'
349 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~
include/linux/mmzone.h:349:22: note: in expansion of macro 'pageblock_order'
349 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~~~~~~~
In file included from include/linux/mmzone.h:18,
from include/linux/gfp.h:6,
from include/linux/xarray.h:14,
from include/linux/radix-tree.h:19,
from include/linux/idr.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:16,
from include/linux/kobject.h:20,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from include/acpi/apei.h:9,
from include/acpi/ghes.h:5,
from include/linux/arm_sdei.h:8,
from arch/arm64/kernel/asm-offsets.c:10:
include/linux/mmzone.h: In function 'pindex_to_order':
>> include/linux/pageblock-flags.h:41:26: error: 'HUGETLB_PAGE_ORDER' undeclared (first use in this function)
41 | #define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/mmzone.h:361:11: note: in expansion of macro 'pageblock_order'
361 | order = pageblock_order;
| ^~~~~~~~~~~~~~~
include/linux/mmzone.h: In function 'pcp_allowed_order':
>> include/linux/pageblock-flags.h:41:26: error: 'HUGETLB_PAGE_ORDER' undeclared (first use in this function)
41 | #define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/mmzone.h:369:12: note: in expansion of macro 'pageblock_order'
369 | order == pageblock_order;
| ^~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:116: arch/arm64/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1235: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:215: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +/HUGETLB_PAGE_ORDER +41 include/linux/pageblock-flags.h
d9c2340052278d Mel Gorman 2007-10-16 39
d9c2340052278d Mel Gorman 2007-10-16 40 /* Huge pages are a constant size */
d9c2340052278d Mel Gorman 2007-10-16 @41 #define pageblock_order HUGETLB_PAGE_ORDER
d9c2340052278d Mel Gorman 2007-10-16 42
:::::: The code at line 41 was first introduced by commit
:::::: d9c2340052278d8eb2ffb16b0484f8f794def4de Do not depend on MAX_ORDER when grouping pages by mobility
:::::: TO: Mel Gorman <mel@csn.ul.ie>
:::::: CC: Linus Torvalds <torvalds@woody.linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35820 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-28 18:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28 18:13 [mel:mm-pcpburst-v1r9 34/35] include/linux/pageblock-flags.h:41:26: error: 'HUGETLB_PAGE_ORDER' undeclared kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.