Re: [mmotm:master 10/417] mm/page_alloc.c:5033:38: error: 'ARCH_PFN_OFFSET' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/23/2015 5:35 PM, kbuild test robot wrote:
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


Andrew, can you drop this patch from mmotm for now? Vlastimil still had
some questions and I'm going to be on vacation next week.

Thanks,
Laura

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]