| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] Fix build failure in op_model_mipsxx.c |
| From: | Thiemo Seufer <ths@networkno.de> |
| Date: | Fri, 7 Jul 2006 10:38:51 +0100 |
| Cc: | ralf@linux-mips.org |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.11+cvs20060403 |
Hello All,
this fixes a build warning which gets handled as -Werror.
Thiemo
Signed-off-by: Thiemo Seufer <ths@networkno.de>
diff --git a/arch/mips/oprofile/op_model_mipsxx.c
b/arch/mips/oprofile/op_model_mipsxx.c
index a09c5f9..a175d67 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 ##
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(unsig
default: \
BUG(); \
} \
+ return; \
} \
__define_perf_accessors(perfcntr, 0, 2)
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] fix rdhwr_op definition, Thiemo Seufer |
|---|---|
| Next by Date: | [PATCH] fast path for rdhwr emulation for TLS, Atsushi Nemoto |
| Previous by Thread: | [PATCH] fix rdhwr_op definition, Atsushi Nemoto |
| Next by Thread: | [PATCH] fast path for rdhwr emulation for TLS, Atsushi Nemoto |
| Indexes: | [Date] [Thread] [Top] [All Lists] |