]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - arch/x86/events/intel/rapl.c
cpu/hotplug: Cleanup state names
[mirror_ubuntu-zesty-kernel.git] / arch / x86 / events / intel / rapl.c
index 0a535cea8ff31adf6e06fc32ff763d423a73ab74..bd34124449b08a4be95f114b3295c22e4d57cd34 100644 (file)
@@ -803,13 +803,13 @@ static int __init rapl_pmu_init(void)
         * Install callbacks. Core will call them for each online cpu.
         */
 
-       ret = cpuhp_setup_state(CPUHP_PERF_X86_RAPL_PREP, "PERF_X86_RAPL_PREP",
+       ret = cpuhp_setup_state(CPUHP_PERF_X86_RAPL_PREP, "perf/x86/rapl:prepare",
                                rapl_cpu_prepare, NULL);
        if (ret)
                goto out;
 
        ret = cpuhp_setup_state(CPUHP_AP_PERF_X86_RAPL_ONLINE,
-                               "AP_PERF_X86_RAPL_ONLINE",
+                               "perf/x86/rapl:online",
                                rapl_cpu_online, rapl_cpu_offline);
        if (ret)
                goto out1;