|
@@ -57,7 +57,7 @@ __setup("cpu0_hotplug", enable_cpu0_hotplug);
|
|
*
|
|
*
|
|
* This is only called for debugging CPU offline/online feature.
|
|
* This is only called for debugging CPU offline/online feature.
|
|
*/
|
|
*/
|
|
-int __ref _debug_hotplug_cpu(int cpu, int action)
|
|
|
|
|
|
+int _debug_hotplug_cpu(int cpu, int action)
|
|
{
|
|
{
|
|
struct device *dev = get_cpu_device(cpu);
|
|
struct device *dev = get_cpu_device(cpu);
|
|
int ret;
|
|
int ret;
|
|
@@ -104,7 +104,7 @@ static int __init debug_hotplug_cpu(void)
|
|
late_initcall_sync(debug_hotplug_cpu);
|
|
late_initcall_sync(debug_hotplug_cpu);
|
|
#endif /* CONFIG_DEBUG_HOTPLUG_CPU0 */
|
|
#endif /* CONFIG_DEBUG_HOTPLUG_CPU0 */
|
|
|
|
|
|
-int __ref arch_register_cpu(int num)
|
|
|
|
|
|
+int arch_register_cpu(int num)
|
|
{
|
|
{
|
|
struct cpuinfo_x86 *c = &cpu_data(num);
|
|
struct cpuinfo_x86 *c = &cpu_data(num);
|
|
|
|
|