tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: a6bd6c9333397f5a0e2667d4d82fef8c970108f2 commit: a491512a83cf145d0f04966b157b16130e9b63b9 [2035/2532] asm-generic/io.h: kill vmalloc.h dependency config: i386-buildonly-randconfig-r005-20221003 (https://download.01.org/0day-ci/archive/20240329/202403290536.7f9zGl5Q-lkp@xxxxxxxxx/config) compiler: gcc-12 (Ubuntu 12.3.0-9ubuntu2) 12.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240329/202403290536.7f9zGl5Q-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202403290536.7f9zGl5Q-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): arch/x86/mm/numa_32.c: In function 'initmem_init': >> arch/x86/mm/numa_32.c:57:9: error: '__vmalloc_start_set' undeclared (first use in this function) 57 | __vmalloc_start_set = true; | ^~~~~~~~~~~~~~~~~~~ arch/x86/mm/numa_32.c:57:9: note: each undeclared identifier is reported only once for each function it appears in vim +/__vmalloc_start_set +57 arch/x86/mm/numa_32.c ^1da177e4c3f41 arch/i386/mm/discontig.c Linus Torvalds 2005-04-16 31 d8fc3afc49bb22 arch/x86/mm/numa_32.c Tejun Heo 2011-02-16 32 void __init initmem_init(void) ^1da177e4c3f41 arch/i386/mm/discontig.c Linus Torvalds 2005-04-16 33 { bd6709a91a593d arch/x86/mm/numa_32.c Tejun Heo 2011-05-02 34 x86_numa_init(); ^1da177e4c3f41 arch/i386/mm/discontig.c Linus Torvalds 2005-04-16 35 ^1da177e4c3f41 arch/i386/mm/discontig.c Linus Torvalds 2005-04-16 36 #ifdef CONFIG_HIGHMEM ^1da177e4c3f41 arch/i386/mm/discontig.c Linus Torvalds 2005-04-16 37 highstart_pfn = highend_pfn = max_pfn; 2ec65f8b89ea00 arch/x86/mm/discontig_32.c Yinghai Lu 2008-06-23 38 if (max_pfn > max_low_pfn) 2ec65f8b89ea00 arch/x86/mm/discontig_32.c Yinghai Lu 2008-06-23 39 highstart_pfn = max_low_pfn; ^1da177e4c3f41 arch/i386/mm/discontig.c Linus Torvalds 2005-04-16 40 printk(KERN_NOTICE "%ldMB HIGHMEM available.\n", ^1da177e4c3f41 arch/i386/mm/discontig.c Linus Torvalds 2005-04-16 41 pages_to_mb(highend_pfn - highstart_pfn)); ba9c231f7499ff arch/i386/mm/discontig.c Jan Beulich 2006-09-26 42 high_memory = (void *) __va(highstart_pfn * PAGE_SIZE - 1) + 1; ba9c231f7499ff arch/i386/mm/discontig.c Jan Beulich 2006-09-26 43 #else 2ec65f8b89ea00 arch/x86/mm/discontig_32.c Yinghai Lu 2008-06-23 44 high_memory = (void *) __va(max_low_pfn * PAGE_SIZE - 1) + 1; ^1da177e4c3f41 arch/i386/mm/discontig.c Linus Torvalds 2005-04-16 45 #endif ^1da177e4c3f41 arch/i386/mm/discontig.c Linus Torvalds 2005-04-16 46 printk(KERN_NOTICE "%ldMB LOWMEM available.\n", 2ec65f8b89ea00 arch/x86/mm/discontig_32.c Yinghai Lu 2008-06-23 47 pages_to_mb(max_low_pfn)); c09434571d4b1d arch/x86/mm/discontig_32.c Yinghai Lu 2008-06-23 48 printk(KERN_DEBUG "max_low_pfn = %lx, highstart_pfn = %lx\n", c09434571d4b1d arch/x86/mm/discontig_32.c Yinghai Lu 2008-06-23 49 max_low_pfn, highstart_pfn); ^1da177e4c3f41 arch/i386/mm/discontig.c Linus Torvalds 2005-04-16 50 c09434571d4b1d arch/x86/mm/discontig_32.c Yinghai Lu 2008-06-23 51 printk(KERN_DEBUG "Low memory ends at vaddr %08lx\n", ^1da177e4c3f41 arch/i386/mm/discontig.c Linus Torvalds 2005-04-16 52 (ulong) pfn_to_kaddr(max_low_pfn)); 3a58a2a6c879b2 arch/x86/mm/discontig_32.c Yinghai Lu 2008-06-24 53 c09434571d4b1d arch/x86/mm/discontig_32.c Yinghai Lu 2008-06-23 54 printk(KERN_DEBUG "High memory starts at vaddr %08lx\n", ^1da177e4c3f41 arch/i386/mm/discontig.c Linus Torvalds 2005-04-16 55 (ulong) pfn_to_kaddr(highstart_pfn)); 3a58a2a6c879b2 arch/x86/mm/discontig_32.c Yinghai Lu 2008-06-24 56 861ce4a3244c21 arch/x86/mm/numa_32.c Laura Abbott 2017-05-08 @57 __vmalloc_start_set = true; :::::: The code at line 57 was first introduced by commit :::::: 861ce4a3244c21b0af64f880d5bfe5e6e2fb9e4a x86/mm/32: Set the '__vmalloc_start_set' flag in initmem_init() :::::: TO: Laura Abbott <labbott@xxxxxxxxxx> :::::: CC: Ingo Molnar <mingo@xxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki