projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88b62b9
)
MIPS: sysmips: Use unreachable().
author
Ralf Baechle
<ralf@linux-mips.org>
Thu, 27 Dec 2012 12:37:40 +0000
(13:37 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Fri, 1 Feb 2013 09:00:20 +0000
(10:00 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/syscall.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/kernel/syscall.c
b/arch/mips/kernel/syscall.c
index 201cb76b4df9d85abf01e2d45aea5b941a612378..8c81f7d11df603e3f95839946f8a330b4c26317d 100644
(file)
--- 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);