asm-generic: add unlikely to default BUG_ON(x)
authorDenis Efremov <efremov@linux.com>
Wed, 28 Aug 2019 21:09:34 +0000 (00:09 +0300)
committerArnd Bergmann <arnd@arndb.de>
Sun, 1 Sep 2019 21:53:39 +0000 (23:53 +0200)
commit9b87647c665dbf93173ca2f43986902b59dfbbba
tree7c8d0697d6718fad3ffde8bd3e2cb41eaf118ecd
parent602828c1aade576ac5f3fbd59b4eb014c5fc2414
asm-generic: add unlikely to default BUG_ON(x)

Add unlikely to default BUG_ON(x) in !CONFIG_BUG. It makes
the define consistent with BUG_ON(x) in CONFIG_BUG.

Signed-off-by: Denis Efremov <efremov@linux.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/bug.h