Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Blackfin: Convert BUG() to use unreachable()

Use the new unreachable() macro instead of for(;;);

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>

authored by

David Daney and committed by
Mike Frysinger
64a2b168 5540a44e

+1 -1
+1 -1
arch/blackfin/include/asm/bug.h
··· 47 47 #define BUG() \ 48 48 do { \ 49 49 _BUG_OR_WARN(0); \ 50 - for (;;); \ 50 + unreachable(); \ 51 51 } while (0) 52 52 53 53 #define WARN_ON(condition) \