From: Peter Zijlstra Date: Mon, 25 Jan 2010 14:58:43 +0000 (+0100) Subject: perf_event: x86: Deduplicate the disable code X-Git-Tag: v2.6.34-rc1~197^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e8418736dff9c6fdadb2f87dcc2087cebf32167;p=pandora-kernel.git perf_event: x86: Deduplicate the disable code Share the meat of the x86_pmu_disable() code with hw_perf_enable(). Also remove the barrier() from that code, since I could not convince myself we actually need it. Signed-off-by: Peter Zijlstra Cc: Stephane Eranian LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed