tree: git://git.cmpxchg.org/linux-mmotm.git master head: c64429bcc60a702f19f5cfdb5c39277863278a8c commit: c2ae2ed329b6b540ea2cbf75a7d14f7ff194b296 [10/417] mm/page_alloc.c: don't offset memmap for flatmem config: mn10300-asb2364_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout c2ae2ed329b6b540ea2cbf75a7d14f7ff194b296 # save the attached .config to linux build tree make.cross ARCH=mn10300 All error/warnings: mm/page_alloc.c: In function 'alloc_node_mem_map': >> mm/page_alloc.c:5033:38: error: 'ARCH_PFN_OFFSET' undeclared (first use in this function) offset = pgdat->node_start_pfn - ARCH_PFN_OFFSET; ^ mm/page_alloc.c:5033:38: note: each undeclared identifier is reported only once for each function it appears in vim +/ARCH_PFN_OFFSET +5033 mm/page_alloc.c 5027 */ 5028 if (pgdat == NODE_DATA(0)) { 5029 mem_map = NODE_DATA(0)->node_mem_map; 5030 #if defined(CONFIG_HAVE_MEMBLOCK_NODE_MAP) || defined(CONFIG_FLATMEM) 5031 if (page_to_pfn(mem_map) != pgdat->node_start_pfn) { 5032 if (IS_ENABLED(CONFIG_HAVE_MEMBLOCK_NODE_MAP)) > 5033 offset = pgdat->node_start_pfn - ARCH_PFN_OFFSET; 5034 mem_map -= offset; 5035 } 5036 #endif /* CONFIG_HAVE_MEMBLOCK_NODE_MAP || CONFIG_FLATMEM */ --- 0-DAY kernel test infrastructure Open Source Technology Center http://lists.01.org/mailman/listinfo/kbuild Intel Corporation