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

Arnd Bergmann arnd at arndb.de
Tue Mar 21 03:35:16 PDT 2017


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?

       Arnd



More information about the linux-arm-kernel mailing list