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

Catalin Marinas catalin.marinas at arm.com
Tue Mar 21 07:11:24 PDT 2017


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 at arm.com> 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 at arm.com>

Applied. Thanks.

-- 
Catalin



More information about the linux-arm-kernel mailing list