CRISv32: add unreachable() to BUG()
authorRabin Vincent <rabin@rab.in>
Thu, 14 May 2015 12:36:55 +0000 (14:36 +0200)
committerJesper Nilsson <jespern@axis.com>
Fri, 4 Sep 2015 22:33:24 +0000 (00:33 +0200)
commit98a725a57a8e92bfbe962a8c69975ce0f9ff11fe
treecdb477ec15956d0fb1191db240f202aaf8c804f1
parent6a4756f6951f97a9a601ba24632c5906750ef00d
CRISv32: add unreachable() to BUG()

Add an unreachable() in the BUG() implementations, to get rid of
several warnings similar to the one below:

 kernel/sched/core.c: In function 'pick_next_task':
 kernel/sched/core.c:2690:1: warning: control reaches end of non-void function [-Wreturn-type]

Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Jesper Nilsson <jespern@axis.com>
arch/cris/include/arch-v32/arch/bug.h