summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2012-12-27 12:37:40 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2013-02-01 09:00:20 (GMT)
commit33722a2e73ad379ee4898f273217ca0eacf8a87f (patch)
tree92ce66f9e8c067235ab462d09b72d327ce15ae8b /arch
parent88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7 (diff)
downloadlinux-33722a2e73ad379ee4898f273217ca0eacf8a87f.tar.xz
MIPS: sysmips: Use unreachable().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-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);