[patch V2 06/28] x86/perf/intel/uncore: Drop pointless hotplug priority

From: Thomas Gleixner
Date: Mon Feb 22 2016 - 06:08:19 EST


The perf core doesn't do anything related to hardware pmus on hotplug. Drop
the priority.

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
---
arch/x86/kernel/cpu/perf_event_intel_uncore.c | 5 -----
1 file changed, 5 deletions(-)

--- a/arch/x86/kernel/cpu/perf_event_intel_uncore.c
+++ b/arch/x86/kernel/cpu/perf_event_intel_uncore.c
@@ -1294,11 +1294,6 @@ static int uncore_cpu_notifier(struct no

static struct notifier_block uncore_cpu_nb = {
.notifier_call = uncore_cpu_notifier,
- /*
- * to migrate uncore events, our notifier should be executed
- * before perf core's notifier.
- */
- .priority = CPU_PRI_PERF + 1,
};

static int __init type_pmu_register(struct intel_uncore_type *type)