diff options
author | Andi Kleen <ak@linux.intel.com> | 2014-08-29 10:20:58 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-09-09 06:53:08 +0200 |
commit | a08b6769d4c5e8d2a3192a45e40b3cdcca0da6a1 (patch) | |
tree | ff95165b2c52967821c6dd452466c9eb63c06bf6 /kernel/events | |
parent | 066ce64c7e867e95e5fee7c5f6b852710486392a (diff) | |
download | linux-a08b6769d4c5e8d2a3192a45e40b3cdcca0da6a1.tar.bz2 |
perf/x86: Fix section mismatch in split uncore driver
The new split Intel uncore driver code that recently went
into tip added a section mismatch, which the build process
complains about.
uncore_pmu_register() can be called from uncore_pci_probe,()
which is not __init and can be called from pci driver ->probe.
I'm not fully sure if it's actually possible to call the probe
function later, but it seems safer to mark uncore_pmu_register
not __init.
This also fixes the warning.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1409332858-29039-1-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/events')
0 files changed, 0 insertions, 0 deletions