瀏覽代碼

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>
Robert Richter 14 年之前
父節點
當前提交
7bb2e269ae
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/s390/oprofile/hwsampler.c

+ 1 - 1
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.