aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2011-02-14 13:08:33 -0500
committerRobert Richter <robert.richter@amd.com>2011-02-15 05:10:42 -0500
commit7bb2e269aefe4539313922ab4a89367cd52a51d1 (patch)
tree65cfc3000cb859cf6308367e7112e4f4770420d5 /arch/s390
parenta0d76247e07abd14968adc4486aaa8e270e9c209 (diff)
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@de.ibm.com> Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/oprofile/hwsampler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/oprofile/hwsampler.c b/arch/s390/oprofile/hwsampler.c
index ab3f770e35ba..3d48f4db246d 100644
--- a/arch/s390/oprofile/hwsampler.c
+++ b/arch/s390/oprofile/hwsampler.c
@@ -578,7 +578,7 @@ static struct notifier_block hws_oom_notifier = {
578 .notifier_call = hws_oom_callback 578 .notifier_call = hws_oom_callback
579}; 579};
580 580
581static int __cpuinit hws_cpu_callback(struct notifier_block *nfb, 581static int hws_cpu_callback(struct notifier_block *nfb,
582 unsigned long action, void *hcpu) 582 unsigned long action, void *hcpu)
583{ 583{
584 /* We do not have sampler space available for all possible CPUs. 584 /* We do not have sampler space available for all possible CPUs.