Re: [linux-next:master 4446/4746] include/asm-generic/pgtable.h:1193: Error: Unknown opcode `static inline void debug_vm_pgtable(void)'

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

 



On Tue, 15 Oct 2019 04:27:01 +0800 kbuild test robot <lkp@xxxxxxxxx> wrote:

> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   4eeb5abd245d849a4692325339a94566953363d6
> commit: e3bcb4e7474a0e671e89ed5f731973287376b754 [4446/4746] mm/debug: add tests validating architecture page table helpers
> config: ia64-allmodconfig (attached as .config)
> compiler: ia64-linux-gcc (GCC) 7.4.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 e3bcb4e7474a0e671e89ed5f731973287376b754
>         # save the attached .config to linux build tree
>         GCC_VERSION=7.4.0 make.cross ARCH=ia64 
> 
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> 
> All errors (new ones prefixed by >>):
> 
>    include/asm-generic/pgtable.h: Assembler messages:
> >> include/asm-generic/pgtable.h:1193: Error: Unknown opcode `static inline void debug_vm_pgtable(void)'
>    arch/ia64/kernel/entry.S:70: Error: `mov' does not fit into bundle

oops.  Let's try this:

From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: mm-debug-add-tests-validating-architecture-page-table-helpers-fix

move include/asm-generic/pgtable.h changes insode #ifdef ASSEMBLY

Cc: Anshuman Khandual <anshuman.khandual@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 include/asm-generic/pgtable.h |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

--- a/include/asm-generic/pgtable.h~mm-debug-add-tests-validating-architecture-page-table-helpers-fix
+++ a/include/asm-generic/pgtable.h
@@ -1157,6 +1157,12 @@ static inline bool arch_has_pfn_modify_c
 # define PAGE_KERNEL_EXEC PAGE_KERNEL
 #endif
 
+#ifdef CONFIG_DEBUG_VM_PGTABLE
+extern void debug_vm_pgtable(void);
+#else
+static inline void debug_vm_pgtable(void) { }
+#endif
+
 #endif /* !__ASSEMBLY__ */
 
 #ifndef io_remap_pfn_range
@@ -1187,10 +1193,4 @@ static inline bool arch_has_pfn_modify_c
 #define mm_pmd_folded(mm)	__is_defined(__PAGETABLE_PMD_FOLDED)
 #endif
 
-#ifdef CONFIG_DEBUG_VM_PGTABLE
-extern void debug_vm_pgtable(void);
-#else
-static inline void debug_vm_pgtable(void) { }
-#endif
-
 #endif /* _ASM_GENERIC_PGTABLE_H */
_





[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