arm64: perf_event: Remove wrongfully used inline
authorRaphael Gault <raphael.gault@arm.com>
Thu, 11 Apr 2019 16:16:46 +0000 (17:16 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 11 Apr 2019 17:12:42 +0000 (18:12 +0100)
commit3d659e7d6513890eb137e7056635004b8b885ce5
tree106cb285db21a946843870ac2d010e3af3a82dbc
parent24062fe85860debfdae0eeaa495f27c9971ec163
arm64: perf_event: Remove wrongfully used inline

The functions armv8pmu_read_counter() and armv8pmu_write_counter()
are `static inline` while they are only referenced when assigned
to a function pointer field in a `struct arm_pmu` instance.

The inline keyword is thus counter intuitive and shouldn't be used.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Raphael Gault <raphael.gault@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/perf_event.c