projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
192ef36
)
[MIPS] Oprofile: Fix build failure due to warning and -Werror.
author
Thiemo Seufer
<ths@networkno.de>
Fri, 7 Jul 2006 09:38:51 +0000
(10:38 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 13 Jul 2006 20:26:09 +0000
(21:26 +0100)
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/oprofile/op_model_mipsxx.c
patch
|
blob
|
history
diff --git
a/arch/mips/oprofile/op_model_mipsxx.c
b/arch/mips/oprofile/op_model_mipsxx.c
index a09c5f901233a3468c85f321250861c9cc275695..a175d673540f9af91e8b460b30e02785436cd688 100644
(file)
--- a/
arch/mips/oprofile/op_model_mipsxx.c
+++ b/
arch/mips/oprofile/op_model_mipsxx.c
@@
-49,6
+49,7
@@
static inline unsigned int r_c0_ ## r ## n(void) \
default: \
BUG(); \
} \
+ return 0; \
} \
\
static inline void w_c0_ ## r ## n(unsigned int value) \
@@
-65,6
+66,7
@@
static inline void w_c0_ ## r ## n(unsigned int value) \
default: \
BUG(); \
} \
+ return; \
} \
__define_perf_accessors(perfcntr, 0, 2)