[IA64] perfmon: fix async exit bug
commit83014699b06fb9a300d896c7c49fb8be1c6c5ddc
authorstephane eranian <eranian@googlemail.com>
Wed, 11 Jun 2008 22:24:13 +0000 (11 15:24 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 11 Jun 2008 22:24:13 +0000 (11 15:24 -0700)
tree6a0d75c35b278ab8e249cc396ef5bf222b4cd8ec
parent28ffb5d3e0b563be5a9639c3a2b42f1a9430454f
[IA64] perfmon: fix async exit bug

Move the cleanup of the async queue to the close callback from the flush
callback. This avoids losing asynchronous overflow notifications when
the file descriptor is shared by multiple processes and one terminates.

Signed-off-by: Stephane Eranian <eranian@gmail.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/perfmon.c