kernel: Resolve section mismatch issue
Amit Sharma [Mon, 13 Oct 2014 05:42:42 +0000 (10:42 +0530)]
Fix section section mismatch issue for function cpu_up() by
changing the attribute: __cpuinit --> __ref.

Bug 200027499

Change-Id: I46757b4577b261df32e9d2a9c20c4d02b8c45ff0
Signed-off-by: Amit Sharma <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/555847
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

kernel/cpu.c

index 43f6fcf..81479a6 100644 (file)
@@ -423,7 +423,7 @@ out:
        return ret;
 }
 
-int __cpuinit cpu_up(unsigned int cpu)
+int __ref cpu_up(unsigned int cpu)
 {
        int err = 0;