* [mel:mm-pcpburst-v1r9 34/35] arch/parisc/include/asm/page.h:161:22: error: 'PMD_SHIFT' undeclared; did you mean 'NMI_SHIFT'?
@ 2021-04-28 18:08 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-28 18:08 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 7762 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: parisc-randconfig-r004-20210428 (attached as .config)
compiler: hppa-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=parisc
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/bitops.h:6,
from include/linux/kernel.h:11,
from arch/parisc/include/asm/bug.h:5,
from include/linux/bug.h:5,
from include/linux/thread_info.h:12,
from include/asm-generic/current.h:5,
from ./arch/parisc/include/generated/asm/current.h:1,
from include/linux/sched.h:12,
from arch/parisc/kernel/asm-offsets.c:18:
include/linux/mmzone.h: In function 'order_to_pindex':
>> arch/parisc/include/asm/page.h:161:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'?
161 | #define HPAGE_SHIFT PMD_SHIFT /* fixed for transparent huge pages */
| ^~~~~~~~~
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);
| ^~~~~~~~~
arch/parisc/include/asm/page.h:164:29: note: in expansion of macro 'HPAGE_SHIFT'
164 | #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
| ^~~~~~~~~~~
include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
41 | #define pageblock_order HUGETLB_PAGE_ORDER
| ^~~~~~~~~~~~~~~~~~
include/linux/mmzone.h:349:22: note: in expansion of macro 'pageblock_order'
349 | VM_BUG_ON(order != pageblock_order);
| ^~~~~~~~~~~~~~~
arch/parisc/include/asm/page.h:161:22: note: each undeclared identifier is reported only once for each function it appears in
161 | #define HPAGE_SHIFT PMD_SHIFT /* fixed for transparent huge pages */
| ^~~~~~~~~
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);
| ^~~~~~~~~
arch/parisc/include/asm/page.h:164:29: note: in expansion of macro 'HPAGE_SHIFT'
164 | #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
| ^~~~~~~~~~~
include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
41 | #define pageblock_order HUGETLB_PAGE_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/shm.h:6,
from include/linux/sched.h:16,
from arch/parisc/kernel/asm-offsets.c:18:
include/linux/mmzone.h: In function 'pindex_to_order':
>> arch/parisc/include/asm/page.h:161:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'?
161 | #define HPAGE_SHIFT PMD_SHIFT /* fixed for transparent huge pages */
| ^~~~~~~~~
arch/parisc/include/asm/page.h:164:29: note: in expansion of macro 'HPAGE_SHIFT'
164 | #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
| ^~~~~~~~~~~
include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
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':
>> arch/parisc/include/asm/page.h:161:22: error: 'PMD_SHIFT' undeclared (first use in this function); did you mean 'NMI_SHIFT'?
161 | #define HPAGE_SHIFT PMD_SHIFT /* fixed for transparent huge pages */
| ^~~~~~~~~
arch/parisc/include/asm/page.h:164:29: note: in expansion of macro 'HPAGE_SHIFT'
164 | #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
| ^~~~~~~~~~~
include/linux/pageblock-flags.h:41:26: note: in expansion of macro 'HUGETLB_PAGE_ORDER'
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/parisc/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 +161 arch/parisc/include/asm/page.h
^1da177e4c3f41 include/asm-parisc/page.h Linus Torvalds 2005-04-16 159
e8b736c860dd93 include/asm-parisc/page.h Helge Deller 2006-01-10 160 #ifdef CONFIG_HUGETLB_PAGE
1f25ad26d65b37 arch/parisc/include/asm/page.h Helge Deller 2015-11-20 @161 #define HPAGE_SHIFT PMD_SHIFT /* fixed for transparent huge pages */
e8b736c860dd93 include/asm-parisc/page.h Helge Deller 2006-01-10 162 #define HPAGE_SIZE ((1UL) << HPAGE_SHIFT)
e8b736c860dd93 include/asm-parisc/page.h Helge Deller 2006-01-10 163 #define HPAGE_MASK (~(HPAGE_SIZE - 1))
e8b736c860dd93 include/asm-parisc/page.h Helge Deller 2006-01-10 164 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
1f25ad26d65b37 arch/parisc/include/asm/page.h Helge Deller 2015-11-20 165
:::::: The code@line 161 was first introduced by commit
:::::: 1f25ad26d65b3740f44d6e03edcd34a5f7b58850 parisc: Add defines for Huge page support
:::::: TO: Helge Deller <deller@gmx.de>
:::::: CC: Helge Deller <deller@gmx.de>
---
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: 17537 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-28 18:08 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:08 [mel:mm-pcpburst-v1r9 34/35] arch/parisc/include/asm/page.h:161:22: error: 'PMD_SHIFT' undeclared; did you mean 'NMI_SHIFT'? 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.