diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2019-09-27 13:33:39 +0800 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-10-01 12:59:59 -0700 |
commit | d345d9cad22532ac18afa70efa0506b1d8cface5 (patch) | |
tree | eecd0a460bcb0e1af35f2003d20856ead14c3f7f /drivers/dca | |
parent | 0889d07f3e4b171c453b2aaf2b257f9074cdf624 (diff) |
MIPS: cpu-bugs64: Mark inline functions as __always_inline
Commit ac7c3e4ff401 ("compiler: enable CONFIG_OPTIMIZE_INLINING
forcibly") allows compiler to uninline functions marked as 'inline'.
Leading to section mismatch in this case.
Since we're using const variables to pass assembly flags, 'inline's
can't be dropped. So we simply mark them as __always_inline.
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Cc: linux-mips@vger.kernel.org
[paul.burton@mips.com:
- Annotate these functions with __init, even if it only serves to
inform human readers when the code can be used.
- Drop the __always_inline from check_daddi() & check_daddiu() which
don't use arguments as immediates in inline asm.
- Rewrap the commit message.]
Signed-off-by: Paul Burton <paul.burton@mips.com>
Diffstat (limited to 'drivers/dca')
0 files changed, 0 insertions, 0 deletions