diff --git a/arch/x86/include/asm/debugreg.h b/arch/x86/include/asm/debugreg.hI see this symbol in the code but it's not defined anywhere in a Kconfig file.
>index 4b528a9..145b009 100644
>--- a/arch/x86/include/asm/debugreg.h
>+++ b/arch/x86/include/asm/debugreg.h
>@@ -114,5 +114,10 @@ static inline void debug_stack_usage_inc(void) { }
> static inline void debug_stack_usage_dec(void) { }
> #endif /* X86_64 */
>
>+#ifdef CONFIG_CPU_SUP_AMD
>+extern void set_dr_addr_mask(unsigned long mask, int dr);
>+#else
>+static inline void set_dr_addr_mask(unsigned long mask, int dr) { }
>+#endif
Maybe you (or I) forgot to include a file in your patches?
Thanks.