Commit-ID: 7bb2e269aefe4539313922ab4a89367cd52a51d1 Gitweb: http://git.kernel.org/tip/7bb2e269aefe4539313922ab4a89367cd52a51d1 Author: Robert Richter <robert.richter@xxxxxxx> AuthorDate: Mon, 14 Feb 2011 19:08:33 +0100 Committer: Robert Richter <robert.richter@xxxxxxx> CommitDate: Tue, 15 Feb 2011 11:10:42 +0100 oprofile, s390: Fix section mismatch of function hws_cpu_callback() Fixes the following section mismatch: Section mismatch in reference from the variable hws_cpu_notifier to the function .cpuinit.text:hws_cpu_callback() Acked-by: Heiko Carstens <heiko.carstens@xxxxxxxxxx> Signed-off-by: Robert Richter <robert.richter@xxxxxxx> --- arch/s390/oprofile/hwsampler.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/s390/oprofile/hwsampler.c b/arch/s390/oprofile/hwsampler.c index ab3f770..3d48f4d 100644 --- a/arch/s390/oprofile/hwsampler.c +++ b/arch/s390/oprofile/hwsampler.c @@ -578,7 +578,7 @@ static struct notifier_block hws_oom_notifier = { .notifier_call = hws_oom_callback }; -static int __cpuinit hws_cpu_callback(struct notifier_block *nfb, +static int hws_cpu_callback(struct notifier_block *nfb, unsigned long action, void *hcpu) { /* We do not have sampler space available for all possible CPUs. -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html