Commit 30f244ae authored by Thiemo Seufer's avatar Thiemo Seufer Committed by Ralf Baechle

[MIPS] Oprofile: Fix build failure due to warning and -Werror.

Signed-off-by: default avatarThiemo Seufer <ths@networkno.de>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 192ef366
...@@ -49,6 +49,7 @@ static inline unsigned int r_c0_ ## r ## n(void) \ ...@@ -49,6 +49,7 @@ static inline unsigned int r_c0_ ## r ## n(void) \
default: \ default: \
BUG(); \ BUG(); \
} \ } \
return 0; \
} \ } \
\ \
static inline void w_c0_ ## r ## n(unsigned int value) \ static inline void w_c0_ ## r ## n(unsigned int value) \
...@@ -65,6 +66,7 @@ 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: \ default: \
BUG(); \ BUG(); \
} \ } \
return; \
} \ } \
__define_perf_accessors(perfcntr, 0, 2) __define_perf_accessors(perfcntr, 0, 2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment