[PATCH 2/3] x86/perf/rapl: Make quirk a function pointer

2016-09-10 Thread Harry Pan
From: Thomas Gleixner There are more model specific quirks required. So we need to change the single purpose boolean quirk flag to an easy extensible mechanism. Make the quirk a function pointer and move the existing quirk into its own function. While at it make the init struct initializers rea

[PATCH 2/3] x86/perf/rapl: Make quirk a function pointer

2016-09-10 Thread Harry Pan
From: Thomas Gleixner There are more model specific quirks required. So we need to change the single purpose boolean quirk flag to an easy extensible mechanism. Make the quirk a function pointer and move the existing quirk into its own function. While at it make the init struct initializers rea