[linux-stable-rc:linux-4.4.y 7595/7619] arch/arm64/mm/mmu.c:701:5: error: redefinition of 'pud_free_pmd_page'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
head:   9d0ab5d17182f9bbe3a4c1d8412f387302bc82d0
commit: f2ef4616ccfdec6975e3ada2295422298f72077e [7595/7619] mm/vmalloc: add interfaces to free unmapped page table
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout f2ef4616ccfdec6975e3ada2295422298f72077e
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

>> arch/arm64/mm/mmu.c:701:5: error: redefinition of 'pud_free_pmd_page'
    int pud_free_pmd_page(pud_t *pud)
        ^~~~~~~~~~~~~~~~~
   In file included from arch/arm64/include/asm/pgtable.h:682:0,
                    from include/linux/mm.h:55,
                    from include/linux/mman.h:4,
                    from arch/arm64/mm/mmu.c:25:
   include/asm-generic/pgtable.h:777:19: note: previous definition of 'pud_free_pmd_page' was here
    static inline int pud_free_pmd_page(pud_t *pud)
                      ^~~~~~~~~~~~~~~~~
>> arch/arm64/mm/mmu.c:706:5: error: redefinition of 'pmd_free_pte_page'
    int pmd_free_pte_page(pmd_t *pmd)
        ^~~~~~~~~~~~~~~~~
   In file included from arch/arm64/include/asm/pgtable.h:682:0,
                    from include/linux/mm.h:55,
                    from include/linux/mman.h:4,
                    from arch/arm64/mm/mmu.c:25:
   include/asm-generic/pgtable.h:781:19: note: previous definition of 'pmd_free_pte_page' was here
    static inline int pmd_free_pte_page(pmd_t *pmd)
                      ^~~~~~~~~~~~~~~~~

vim +/pud_free_pmd_page +701 arch/arm64/mm/mmu.c

   700	
 > 701	int pud_free_pmd_page(pud_t *pud)
   702	{
   703		return pud_none(*pud);
   704	}
   705	
 > 706	int pmd_free_pte_page(pmd_t *pmd)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


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

  Powered by Linux