]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: perf: trivial code cleanup
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Thu, 13 Dec 2018 16:56:18 +0000 (19:56 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 17 Jan 2019 22:38:00 +0000 (14:38 -0800)
commit20013bcb0203408c46d5c8bffed634c5886eefce
tree0f7757f052ca05f26b1459c7b4d591645945fbbe
parent48369297e10426e6d66044542a0890a1dc621d0e
ARC: perf: trivial code cleanup

* Use BIT(), lower_32_bits(), upper_32_bits() macroses,
  fix code style violations.
* Use u32, u64, s64 instead of uint32_t, uint64_t, int64_t
* Fix description comment as this code doesn't belong only to
  ARC700 anymore.
* Use SPDX License Identifier.
* Remove useless ifdefs. ifdef around 'arc_pmu_match' structure
  declaration is useless as we refer to 'arc_pmu_match' in
  several places which aren't guarded with ifdef. Nevertheless
  'ARC' option selects 'OF' unconditionally so we can simply
  get rid of this ifdef.

Acked-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/perf_event.c