MIPS: sysmips: Use unreachable().
authorRalf Baechle <ralf@linux-mips.org>
Thu, 27 Dec 2012 12:37:40 +0000 (13:37 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 1 Feb 2013 09:00:20 +0000 (10:00 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/syscall.c

index 201cb76b4df9d85abf01e2d45aea5b941a612378..8c81f7d11df603e3f95839946f8a330b4c26317d 100644 (file)
@@ -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);