[arm-perf:hugetlb/devel 8/10] arch/arm/include/asm/pgtable-2level.h:333:10: error: 'HPAGE_MASK' undeclared

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

 



Hi Steve,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git hugetlb/devel
head:   d5ada8ef8b4415b39c6e89711cd8d41ea275ce82
commit: 7356b0ca2bae49b15a314cc746b39869760960ab [8/10] ARM: mm: Transparent huge page support for non-LPAE systems.
config: arm-at91_dt_defconfig # make ARCH=arm at91_dt_defconfig

All error/warnings:

In file included from arch/arm/include/asm/pgtable.h:33:0,
                 from include/linux/mm.h:44,
                 from arch/arm/kernel/asm-offsets.c:14:
arch/arm/include/asm/pgtable-2level.h: In function 'pmd_page':
arch/arm/include/asm/pgtable-2level.h:333:10: error: 'HPAGE_MASK' undeclared (first use in this function)
arch/arm/include/asm/pgtable-2level.h:333:10: note: each undeclared identifier is reported only once for each function it appears in

vim +333 arch/arm/include/asm/pgtable-2level.h

7356b0ca Steve Capper 2012-07-19  327  {
7356b0ca Steve Capper 2012-07-19  328  	/*
7356b0ca Steve Capper 2012-07-19  329  	 * for a section, we need to mask off more of the pmd
7356b0ca Steve Capper 2012-07-19  330  	 * before looking up the page as it is a section descriptor.
7356b0ca Steve Capper 2012-07-19  331  	 */
7356b0ca Steve Capper 2012-07-19  332  	if (_PMD_HUGE(pmd))
7356b0ca Steve Capper 2012-07-19 @333  		return phys_to_page(pmd_val(pmd) & HPAGE_MASK);
7356b0ca Steve Capper 2012-07-19  334  
7356b0ca Steve Capper 2012-07-19  335  	return phys_to_page(pmd_val(pmd) & PHYS_MASK);
7356b0ca Steve Capper 2012-07-19  336  }

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux