summaryrefslogtreecommitdiff
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>2012-12-27 16:27:07 +0100
commitf2ace93136cade6904a71d26e2f4768eef3b9aa3 (patch)
tree22467688f4c91cf174a112a7ea2f33c4fa283648 /arch/mips/kernel/syscall.c
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 (diff)
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);