]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/events/intel/rapl.c
Merge branch 'linus' into x86/apic, to refresh the branch
[karo-tx-linux.git] / arch / x86 / events / intel / rapl.c
index 99c4bab123cdae71b14ab92241d81dbf15616fe1..e30eef4f29a6f6034e46beab4a559f9994311c34 100644 (file)
@@ -714,7 +714,7 @@ static void cleanup_rapl_pmus(void)
        int i;
 
        for (i = 0; i < rapl_pmus->maxpkg; i++)
-               kfree(rapl_pmus->pmus + i);
+               kfree(rapl_pmus->pmus[i]);
        kfree(rapl_pmus);
 }