metag, perf: Use common PMU interrupt disabled code
authorVince Weaver <vincent.weaver@maine.edu>
Sun, 15 Jun 2014 06:03:13 +0000 (02:03 -0400)
committerIngo Molnar <mingo@kernel.org>
Wed, 18 Jun 2014 16:43:45 +0000 (18:43 +0200)
commit1b92722fafe2003e49ec904f33c0020ade36bd16
treea66395f18c992ec43f19f6d2686aef865d89ab3d
parent6e316f9c19a088586fd9ae058f9ea35b271571f3
metag, perf: Use common PMU interrupt disabled code

Transition to using the new generic PERF_PMU_CAP_NO_INTERRUPT method for
failing a sampling event when no PMU interrupt is available.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Acked-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: linux-metag@vger.kernel.org
Link: http://lkml.kernel.org/r/alpine.DEB.2.10.1406150202050.16738@vincent-weaver-1.umelst.maine.edu
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/metag/kernel/perf/perf_event.c