[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <18025.1441883475@warthog.procyon.org.uk>
Date: Thu, 10 Sep 2015 12:11:15 +0100
From: David Howells <dhowells@...hat.com>
To: Palmer Dabbelt <palmer@...belt.com>
Cc: dhowells@...hat.com, arnd@...db.de, 3chas3@...il.com,
hpa@...or.com, mingo@...hat.com, plagnioj@...osoft.com,
jikos@...nel.org, linux-api@...r.kernel.org,
linux-arch@...r.kernel.org,
linux-atm-general@...ts.sourceforge.net,
linux-fbdev@...r.kernel.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, tglx@...utronix.de, tomi.valkeinen@...com,
x86@...nel.org
Subject: Re: [PATCH 09/13] Hide bp_type_idx behind #ifdef __KERNEL__
Palmer Dabbelt <palmer@...belt.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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists