i386: make Oprofile call shutdown() only once per session
authorStephane Eranian <eranian@hpl.hp.com>
Wed, 17 Oct 2007 16:04:32 +0000 (18:04 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Wed, 17 Oct 2007 18:15:14 +0000 (20:15 +0200)
commit0f8e45a288991ff24951b83fe83cf3eb011bbaed
treea36942d402be31474e28d1363882be4bb9127d32
parent3dfbc88464934fb6924a388bc03961d44f387926
i386: make Oprofile call shutdown() only once per session

Oprofile: call model->shutdown() only once to avoid calling release_ev*()
multiple times

[ tglx: arch/x86 adaptation ]

Signed-off-by: Stephane Eranian <eranian@hpl.hp.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/oprofile/nmi_int.c