diff options
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/oprofile/op_model_mipsxx.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) \ | |||
49 | default: \ | 49 | default: \ |
50 | BUG(); \ | 50 | BUG(); \ |
51 | } \ | 51 | } \ |
52 | return 0; \ | ||
52 | } \ | 53 | } \ |
53 | \ | 54 | \ |
54 | static inline void w_c0_ ## r ## n(unsigned int value) \ | 55 | 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 | default: \ | 66 | default: \ |
66 | BUG(); \ | 67 | BUG(); \ |
67 | } \ | 68 | } \ |
69 | return; \ | ||
68 | } \ | 70 | } \ |
69 | 71 | ||
70 | __define_perf_accessors(perfcntr, 0, 2) | 72 | __define_perf_accessors(perfcntr, 0, 2) |