diff options
author | David S. Miller <davem@davemloft.net> | 2012-08-17 14:09:39 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-19 10:26:20 +0400 |
commit | 5ab968413515e17788003c522f7ca40a07fae900 (patch) | |
tree | 8af29c455d3469ea6af3086a303962f92c65ef1f /arch/sparc/kernel/head_64.S | |
parent | 3f1a20972239e3f66720c34d9009ae9cc9ddffba (diff) | |
download | linux-5ab968413515e17788003c522f7ca40a07fae900.tar.xz |
sparc64: Rework sparc_pmu_enable() so that the side effects are clearer.
When cpuc->n_events is zero, we actually don't do anything and we just
write the cpuc->pcr[0] value as-is without any modifications.
The "pcr = 0;" assignment there was just useless and confusing.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/head_64.S')
0 files changed, 0 insertions, 0 deletions