lkml.org 
[lkml]   [2015]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 09/13] Hide bp_type_idx behind #ifdef __KERNEL__
Date
Palmer Dabbelt <palmer@dabbelt.com> wrote:

> +#ifdef __KERNEL__
> enum bp_type_idx {
> TYPE_INST = 0,
> -#ifdef CONFIG_HAVE_MIXED_BREAKPOINTS_REGS
> +#if defined(CONFIG_HAVE_MIXED_BREAKPOINTS_REGS)
> TYPE_DATA = 0,
> #else
> TYPE_DATA = 1,
> #endif
> TYPE_MAX
> };
> +#endif /* __KERNEL__ */

This should be in include/linux/hw_breakpoint.h without __KERNEL__ markings.

David


\
 
 \ /
  Last update: 2015-09-10 13:21    [W:0.448 / U:1.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site