diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-08-19 13:53:58 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-08-20 15:35:49 +0200 |
commit | 090749502ff20d7d9ec244036fe636b6bf0433b6 (patch) | |
tree | 52ce66c6c0a525b4a9eff0ee5917c52f72479ead /arch/arc/kernel/perf_event.c | |
parent | ARC: change some branchs to jumps to resolve linkage errors (diff) | |
download | linux-090749502ff20d7d9ec244036fe636b6bf0433b6.tar.xz linux-090749502ff20d7d9ec244036fe636b6bf0433b6.zip |
ARC: add/fix some comments in code - no functional change
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/perf_event.c')
-rw-r--r-- | arch/arc/kernel/perf_event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/kernel/perf_event.c b/arch/arc/kernel/perf_event.c index 1287388c258a..79ab199a9778 100644 --- a/arch/arc/kernel/perf_event.c +++ b/arch/arc/kernel/perf_event.c @@ -199,8 +199,8 @@ static void arc_pmu_start(struct perf_event *event, int flags) event->hw.state = 0; /* enable ARC pmu here */ - write_aux_reg(ARC_REG_PCT_INDEX, idx); - write_aux_reg(ARC_REG_PCT_CONFIG, hwc->config); + write_aux_reg(ARC_REG_PCT_INDEX, idx); /* counter # */ + write_aux_reg(ARC_REG_PCT_CONFIG, hwc->config); /* condition */ } static void arc_pmu_stop(struct perf_event *event, int flags) |