]> git.baikalelectronics.ru Git - kernel.git/commit
perf, x86: Fix uncore_types_exit section mismatch
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 2 Aug 2012 10:55:27 +0000 (12:55 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 13 Aug 2012 17:01:03 +0000 (19:01 +0200)
commit243a9006a984ea29da28e185ba42628efb45e6cc
treeed4195566d0488c2a5d1e38482c3860f1bb2d5a6
parent9283b1d8a101988174b41db1adbc4665a28c0d46
perf, x86: Fix uncore_types_exit section mismatch

Fix the following section mismatch:

WARNING: arch/x86/kernel/cpu/built-in.o(.text+0x7ad9): Section mismatch in reference from the function uncore_types_exit() to the function .init.text:uncore_type_exit()

The function uncore_types_exit() references the function __init
uncore_type_exit().  This is often because uncore_types_exit lacks a
__init annotation or the annotation of uncore_type_exit is wrong.

caused by 70e5a1438b6d ("perf: Add generic PCI uncore PMU device
support").

Cc: Zheng Yan <zheng.z.yan@intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1339741902-8449-8-git-send-email-zheng.z.yan@intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/perf_event_intel_uncore.c