projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9f07eb
)
MIPS: Add an unreachable return statement to satisfy buggy GCCs.
author
David Daney
<ddaney@caviumnetworks.com>
Wed, 19 Jan 2011 23:24:42 +0000
(15:24 -0800)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 14 Mar 2011 20:07:24 +0000
(21:07 +0100)
It was reported that GCC-4.3.3 (with CodeSourcery extensions) fails
without this.
Reported-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2010/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/tlbex.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/mm/tlbex.c
b/arch/mips/mm/tlbex.c
index 083d3412d0bccc7744ec151cd493de614d0375b8..04f9e17db9d0dfbadda95b9f9751c798667529a6 100644
(file)
--- a/
arch/mips/mm/tlbex.c
+++ b/
arch/mips/mm/tlbex.c
@@
-109,6
+109,8
@@
static bool scratchpad_available(void)
static int scratchpad_offset(int i)
{
BUG();
+ /* Really unreachable, but evidently some GCC want this. */
+ return 0;
}
#endif
/*