From: Ralf Baechle Date: Thu, 27 Dec 2012 12:37:40 +0000 (+0100) Subject: MIPS: sysmips: Use unreachable(). X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f2ace93136cade6904a71d26e2f4768eef3b9aa3;p=linux-beck.git MIPS: sysmips: Use unreachable(). Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/syscall.c b/arch/mips/kernel/syscall.c index 201cb76b4df9..8c81f7d11df6 100644 --- a/arch/mips/kernel/syscall.c +++ b/arch/mips/kernel/syscall.c @@ -235,7 +235,7 @@ static inline int mips_atomic_set(struct pt_regs *regs, : "r" (regs)); /* unreached. Honestly. */ - while (1); + unreachable(); } save_static_function(sys_sysmips);