Re: [PATCH] [v2] arm64: define BUG() instruction without CONFIG_BUG

From: Catalin Marinas
Date: Tue Mar 21 2017 - 10:11:52 EST


On Tue, Mar 21, 2017 at 11:51:57AM +0000, Will Deacon wrote:
> On Tue, Mar 21, 2017 at 11:35:16AM +0100, Arnd Bergmann wrote:
> > On Mon, Mar 20, 2017 at 8:09 PM, Will Deacon <will.deacon@xxxxxxx> wrote:
> >
> > >>
> > >> -#define BUG() do { \
> > >> - _BUG_FLAGS(0); \
> > >> - unreachable(); \
> > >> +#define _BUG_FLAGS(flags) __BUG_FLAGS(flags)
> > >
> > > What is this for? I don't see _BUG_FLAGS used anywhere, but I could
> > > be missing some macro expansion.
> >
> > I think I accidentally left this after removing the last user from an
> > intermediate
> > version of the patch. Do you want me to send an updated version, or could
> > you just drop this line when applying?
>
> I suspect Catalin can do that when he takes the patch. With that fixup:
>
> Acked-by: Will Deacon <will.deacon@xxxxxxx>

Applied. Thanks.

--
Catalin