Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367223
b: refs/heads/master
c: 9344de1
h: refs/heads/master
i:
  367221: c7d9ab9
  367219: 7d6afd3
  367215: 3aa2021
v: v3
  • Loading branch information
James Hogan committed Mar 15, 2013
1 parent ec47a4c commit 7506dbb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2033dc54e6fffac01f6129c0038c2e78102cf59a
refs/heads/master: 9344de1b1c64b2217f3b15508266deff2a8d6c84
4 changes: 2 additions & 2 deletions trunk/arch/metag/kernel/perf/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
#include <linux/slab.h>

#include <asm/core_reg.h>
#include <asm/hwthread.h>
#include <asm/io.h>
#include <asm/irq.h>
#include <asm/processor.h>

#include "perf_event.h"

Expand Down Expand Up @@ -651,7 +651,7 @@ static void metag_pmu_enable_counter(struct hw_perf_event *event, int idx)
}

tmp = ((config & 0xf) << 28) |
((1 << 24) << cpu_2_hwthread_id[get_cpu()]);
((1 << 24) << hard_processor_id());
if (metag_pmu->max_period)
/*
* Cores supporting overflow interrupts may have had the counter
Expand Down

0 comments on commit 7506dbb

Please sign in to comment.