summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/syscall.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2012-12-27 13:37:40 +0100
committerRalf Baechle <ralf@linux-mips.org>2013-02-01 10:00:20 +0100
commit33722a2e73ad379ee4898f273217ca0eacf8a87f (patch)
tree92ce66f9e8c067235ab462d09b72d327ce15ae8b /arch/mips/kernel/syscall.c
parent88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7 (diff)
downloadlinux-33722a2e73ad379ee4898f273217ca0eacf8a87f.tar.bz2
MIPS: sysmips: Use unreachable().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/syscall.c')
-rw-r--r--arch/mips/kernel/syscall.c2
1 files changed, 1 insertions, 1 deletions
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);