perf/x86/intel: Make cpuc allocations consistent

The cpuc data structure allocation is different between fake and real
cpuc's; use the same code to init/free both.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
Peter Zijlstra (Intel) 2019-03-05 22:23:15 +01:00 • committed by Thomas Gleixner
commit d01b1f96a8
3 changed files with 31 additions and 22 deletions