perf/x86/intel/rapl: Simplify quirk handling even more
authorBorislav Petkov <bp@alien8.de>
Tue, 8 Mar 2016 16:40:41 +0000 (17:40 +0100)
committerIngo Molnar <mingo@kernel.org>
Tue, 8 Mar 2016 16:49:52 +0000 (17:49 +0100)
commit7a8698058ae493ae53b1a8a2fa23d2e37000d73e
tree731f2e65fa11bdde3bf73eb682a1bcd8a82ebe87
parent8e2a7f5b9a8c49f1f4e1dc8972198510f43c0b2e
perf/x86/intel/rapl: Simplify quirk handling even more

Drop the quirk() function pointer in favor of a simple boolean which
says whether the quirk should be applied or not. Update comment while at
it.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <andi.kleen@intel.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Harish Chegondi <harish.chegondi@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: linux-tip-commits@vger.kernel.org
Link: http://lkml.kernel.org/r/20160308164041.GF16568@pd.tnic
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/intel/rapl.c