mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-19 16:14:13 +08:00
[MIPS] Oprofile: Fix build failure due to warning and -Werror.
Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
192ef36619
commit
30f244aed3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user