]> git.hungrycats.org Git - linux/commit
[IA64] perfmon.c: cleanup system-wide context when closed from another cpu
authorStéphane Eranian <eranian@hpl.hp.com>
Mon, 30 Aug 2004 22:20:37 +0000 (22:20 +0000)
committerTony Luck <tony.luck@intel.com>
Mon, 30 Aug 2004 22:20:37 +0000 (22:20 +0000)
commit23c25b0d6c52f2323472d41fb6d154d7145944f6
tree9c477319411bd1a23dd55ff3db8816be4dc92faf
parentbc3122672046deac8053e064bfa39e83df4f697f
[IA64] perfmon.c: cleanup system-wide context when closed from another cpu

- fix pfm_stop() and pfm_flush_pmds() to correctly cleanup
  in case of a system-wide context which is closed while running
  from another processor. This was leading to an assertion failure
  in pfm_loads_regs() for the next user of the PMU on the monitored
  CPU.

signed-off-by: stephane eranian <eranian@hpl.hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/perfmon.c