]> git.karo-electronics.de Git - karo-tx-linux.git/commit
CPU: Add right qualifiers for alloc_frozen_cpus() and cpu_hotplug_pm_sync_init()
authorFenghua Yu <fenghua.yu@intel.com>
Tue, 15 Nov 2011 20:59:31 +0000 (21:59 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Thu, 17 Nov 2011 20:41:24 +0000 (21:41 +0100)
commitaebec0fb09ace22aeb7ea3286ece39cf32089370
tree302c671e9ef6f38ec5e060f0b6242a610b5e0577
parentb1bd8078fe0b25fbf656445db2c5d88c442f692c
CPU: Add right qualifiers for alloc_frozen_cpus() and cpu_hotplug_pm_sync_init()

Add __init for functions alloc_frozen_cpus() and cpu_hotplug_pm_sync_init()
because they are only called during boot time.

Add static for function cpu_hotplug_pm_sync_init() because its scope is limited
in this file only.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Acked-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
kernel/cpu.c