diff options
author | Robert Richter <robert.richter@amd.com> | 2012-06-20 12:39:27 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-06-25 04:32:21 -0400 |
commit | 357398e96d8c883b010379a7669df43ed0e2e32b (patch) | |
tree | 180f5623ddae827ad2066df7515352fca9612c0e | |
parent | 32c46e579b68c7ac0cd19d0803898a841d99833d (diff) |
perf/x86: Fix section mismatch in uncore_pci_init()
Fix section mismatch in uncore_pci_init():
WARNING: vmlinux.o(.init.text+0x9246): Section mismatch in reference from the function uncore_pci_init() to the function .devexit.text:uncore_pci_remove()
The function __init uncore_pci_init() references
a function __devexit uncore_pci_remove().
[...]
Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: <a.p.zijlstra@chello.nl>
Cc: <zheng.z.yan@intel.com>
Link: http://lkml.kernel.org/r/20120620163927.GI5046@erda.amd.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | arch/x86/kernel/cpu/perf_event_intel_uncore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/cpu/perf_event_intel_uncore.c b/arch/x86/kernel/cpu/perf_event_intel_uncore.c index 28a8413ca199..6f43f9584e3d 100644 --- a/arch/x86/kernel/cpu/perf_event_intel_uncore.c +++ b/arch/x86/kernel/cpu/perf_event_intel_uncore.c | |||
@@ -1313,7 +1313,7 @@ static int __devinit uncore_pci_add(struct intel_uncore_type *type, | |||
1313 | return 0; | 1313 | return 0; |
1314 | } | 1314 | } |
1315 | 1315 | ||
1316 | static void __devexit uncore_pci_remove(struct pci_dev *pdev) | 1316 | static void uncore_pci_remove(struct pci_dev *pdev) |
1317 | { | 1317 | { |
1318 | struct intel_uncore_box *box = pci_get_drvdata(pdev); | 1318 | struct intel_uncore_box *box = pci_get_drvdata(pdev); |
1319 | struct intel_uncore_pmu *pmu = box->pmu; | 1319 | struct intel_uncore_pmu *pmu = box->pmu; |