On Thu, 12 Oct 2017 18:20:39 +0800 kbuild test robot <l...@intel.com> wrote:
> Hi Balbir, > > [auto build test ERROR on powerpc/next] > [also build test ERROR on v4.14-rc4 next-20171009] > [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/Michael-Ellerman/powerpc-xmon-Support-dumping-software-pagetables/20171012-124024 > base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next > config: powerpc-ppc6xx_defconfig (attached as .config) > compiler: powerpc-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 > reproduce: > wget > https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O > ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > make.cross ARCH=powerpc > > All error/warnings (new ones prefixed by >>): > > In file included from arch/powerpc/include/asm/book3s/pgtable.h:7:0, > from arch/powerpc/include/asm/pgtable.h:16, > from include/linux/memremap.h:7, > from include/linux/mm.h:26, > from arch/powerpc/xmon/xmon.c:18: > arch/powerpc/xmon/xmon.c: In function 'show_pte': > >> arch/powerpc/include/asm/book3s/32/pgtable.h:282:13: error: implicit > >> declaration of function 'kmap_atomic' > >> [-Werror=implicit-function-declaration] > ((pte_t *) kmap_atomic(pmd_page(*(dir))) + pte_index(addr)) > ^ > >> arch/powerpc/xmon/xmon.c:3042:9: note: in expansion of macro > >> 'pte_offset_map' > ptep = pte_offset_map(pmdp, addr); > ^~~~~~~~~~~~~~ for pte_offset_map() to work, we need linux/highmem.h to be included in xmon.c. Balbir Singh.