From: Ralf Baechle Date: Thu, 27 Dec 2012 12:37:40 +0000 (+0100) Subject: MIPS: sysmips: Use unreachable(). X-Git-Tag: v3.9-rc1~26^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=33722a2e73ad379ee4898f273217ca0eacf8a87f;p=platform%2Fkernel%2Flinux-3.10.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 201cb76..8c81f7d 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);