summaryrefslogtreecommitdiffstats
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
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565 (diff)
downloadop-kernel-dev-f2ace93136cade6904a71d26e2f4768eef3b9aa3.zip
op-kernel-dev-f2ace93136cade6904a71d26e2f4768eef3b9aa3.tar.gz
MIPS: sysmips: Use unreachable().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-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 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);
OpenPOWER on IntegriCloud