Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 357398e9 authored by Robert Richter's avatar Robert Richter Committed by Ingo Molnar
Browse files

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: default avatarRobert 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: default avatarIngo Molnar <mingo@kernel.org>
parent 32c46e57
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1313,7 +1313,7 @@ static int __devinit uncore_pci_add(struct intel_uncore_type *type,
	return 0;
}

static void __devexit uncore_pci_remove(struct pci_dev *pdev)
static void uncore_pci_remove(struct pci_dev *pdev)
{
	struct intel_uncore_box *box = pci_get_drvdata(pdev);
	struct intel_uncore_pmu *pmu = box->pmu;