perf/x86/amd: Rework northbridge event constraints handler
authorRobert Richter <rric@kernel.org>
Wed, 6 Feb 2013 17:26:24 +0000 (11:26 -0600)
committerIngo Molnar <mingo@kernel.org>
Wed, 6 Feb 2013 18:45:22 +0000 (19:45 +0100)
commit2c53c3dd0b6497484b29fd49d34ef98acbc14577
tree6aae3a8a73292f0a024cbd78de68ad7b0498d3b5
parentf2b4367a69c60c644a1df36f63a65e0e677d3b0f
perf/x86/amd: Rework northbridge event constraints handler

Code simplification. No functional changes.

Signed-off-by: Robert Richter <rric@kernel.org>
Signed-off-by: Jacob Shin <jacob.shin@amd.com>
Acked-by: Stephane Eranian <eranian@google.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Robert Richter <rric@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1360171589-6381-2-git-send-email-jacob.shin@amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_amd.c