Re: [PATCH 2/2] sparc64: Fix pagetable freeing for hugepage regions
From: kbuild test robot
Date: Wed Jun 22 2016 - 23:31:20 EST
Hi,
[auto build test ERROR on sparc/master]
[also build test ERROR on v4.7-rc4 next-20160622]
[cannot apply to sparc-next/master]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Nitin-Gupta/sparc64-Trim-page-tables-for-8M-hugepages/20160623-092926
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc.git master
config: tile-tilegx_defconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
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
# save the attached .config to linux build tree
make.cross ARCH=tile
All errors (new ones prefixed by >>):
In file included from include/linux/hugetlb.h:420:0,
from arch/tile/kernel/proc.c:25:
>> arch/tile/include/asm/hugetlb.h:43:20: error: static declaration of 'hugetlb_free_pgd_range' follows non-static declaration
include/linux/hugetlb.h:123:6: note: previous declaration of 'hugetlb_free_pgd_range' was here
vim +/hugetlb_free_pgd_range +43 arch/tile/include/asm/hugetlb.h
867e359b Chris Metcalf 2010-05-28 37 return -EINVAL;
867e359b Chris Metcalf 2010-05-28 38 if (addr & ~huge_page_mask(h))
867e359b Chris Metcalf 2010-05-28 39 return -EINVAL;
867e359b Chris Metcalf 2010-05-28 40 return 0;
867e359b Chris Metcalf 2010-05-28 41 }
867e359b Chris Metcalf 2010-05-28 42
867e359b Chris Metcalf 2010-05-28 @43 static inline void hugetlb_free_pgd_range(struct mmu_gather *tlb,
867e359b Chris Metcalf 2010-05-28 44 unsigned long addr, unsigned long end,
867e359b Chris Metcalf 2010-05-28 45 unsigned long floor,
867e359b Chris Metcalf 2010-05-28 46 unsigned long ceiling)
:::::: The code at line 43 was first introduced by commit
:::::: 867e359b97c970a60626d5d76bbe2a8fadbf38fb arch/tile: core support for Tilera 32-bit chips.
:::::: TO: Chris Metcalf <cmetcalf@xxxxxxxxxx>
:::::: CC: Chris Metcalf <cmetcalf@xxxxxxxxxx>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data