Loading arch/arm/mach-msm/msm_rq_stats.c +10 −9 Original line number Diff line number Diff line /* Copyright (c) 2010-2013, The Linux Foundation. All rights reserved. /* Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -355,11 +355,12 @@ static int __init msm_rq_stats_init(void) int ret; int i; struct cpufreq_policy cpu_policy; #ifndef CONFIG_SMP /* Bail out if this is not an SMP Target */ if (!is_smp()) { rq_info.init = 0; return -ENOSYS; } #endif rq_wq = create_singlethread_workqueue("rq_stats"); BUG_ON(!rq_wq); Loading Loading @@ -395,11 +396,11 @@ late_initcall(msm_rq_stats_init); static int __init msm_rq_stats_early_init(void) { #ifndef CONFIG_SMP /* Bail out if this is not an SMP Target */ if (!is_smp()) { rq_info.init = 0; return -ENOSYS; } #endif pm_notifier(system_suspend_handler, 0); return 0; Loading Loading
arch/arm/mach-msm/msm_rq_stats.c +10 −9 Original line number Diff line number Diff line /* Copyright (c) 2010-2013, The Linux Foundation. All rights reserved. /* Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -355,11 +355,12 @@ static int __init msm_rq_stats_init(void) int ret; int i; struct cpufreq_policy cpu_policy; #ifndef CONFIG_SMP /* Bail out if this is not an SMP Target */ if (!is_smp()) { rq_info.init = 0; return -ENOSYS; } #endif rq_wq = create_singlethread_workqueue("rq_stats"); BUG_ON(!rq_wq); Loading Loading @@ -395,11 +396,11 @@ late_initcall(msm_rq_stats_init); static int __init msm_rq_stats_early_init(void) { #ifndef CONFIG_SMP /* Bail out if this is not an SMP Target */ if (!is_smp()) { rq_info.init = 0; return -ENOSYS; } #endif pm_notifier(system_suspend_handler, 0); return 0; Loading