oprofile, s390: Fix section mismatch of function hws_cpu_callback()
authorRobert Richter <robert.richter@amd.com>
Mon, 14 Feb 2011 18:08:33 +0000 (19:08 +0100)
committerRobert Richter <robert.richter@amd.com>
Tue, 15 Feb 2011 10:10:42 +0000 (11:10 +0100)
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>
arch/s390/oprofile/hwsampler.c

index ab3f770e35ba56bba20dbc0ed5f27ec3c99909a0..3d48f4db246d2a2caf8ec43f4dd38cf272200aba 100644 (file)
@@ -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.