Re: [PATCH 5/5] ARC: perf: remove useless ifdefs

2018-12-05 Thread Vineet Gupta
On 12/5/18 9:06 AM, Eugeniy Paltsev wrote: > 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. > > S

[PATCH 5/5] ARC: perf: remove useless ifdefs

2018-12-05 Thread Eugeniy Paltsev
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. Signed-off-by: Eugeniy Paltsev --- arch/arc/kernel/perf_