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>
Thu, 27 Dec 2012 15:27:07 +0000 (16:27 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/syscall.c

index 201cb76..8c81f7d 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);