From: Thiemo Seufer Date: Fri, 7 Jul 2006 09:38:51 +0000 (+0100) Subject: [MIPS] Oprofile: Fix build failure due to warning and -Werror. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=30f244aed36f569c2e3ea6e8457bf66adaf98a3d;p=openwrt%2Fstaging%2Fblogic.git [MIPS] Oprofile: Fix build failure due to warning and -Werror. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/oprofile/op_model_mipsxx.c b/arch/mips/oprofile/op_model_mipsxx.c index a09c5f901233..a175d673540f 100644 --- 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)