lkml.org 
[lkml]   [2014]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/4] perf/x86/amd: AMD support for bp_len > HW_BREAKPOINT_LEN_8


On 05/30/2014 08:33 AM, Frederic Weisbecker wrote:
>> diff --git a/arch/x86/include/asm/debugreg.h b/arch/x86/include/asm/debugreg.h
>> >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
> I see this symbol in the code but it's not defined anywhere in a Kconfig file.
> Maybe you (or I) forgot to include a file in your patches?
>
> Thanks.

If you are referring to the CONFIG_CPU_SUP_AMD, this is in
arch/x86/Kconfig.cpu

Suravee


\
 
 \ /
  Last update: 2014-05-31 04:41    [W:0.131 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site