On 07/11/2014 01:33 PM, Tim Chen wrote:
> +unsigned long nr_running_cpu(int cpu)
> +{
> + if (cpumask_test_cpu(cpu, cpu_online_mask))
> + return cpu_rq(cpu)->nr_running;
> + else
> + return 0;
> +}
> +
EXPORT_SYMBOL?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- [PATCH v4 6/7] sched: add function nr_running_cpu to expose... Tim Chen
- Re: [PATCH v4 6/7] sched: add function nr_running_cpu ... Kirill Tkhai
- Re: [PATCH v4 6/7] sched: add function nr_running_cpu ... Tadeusz Struk
- Re: [PATCH v4 6/7] sched: add function nr_running_cpu ... Peter Zijlstra
- Re: [PATCH v4 6/7] sched: add function nr_running_... Tim Chen
- Re: [PATCH v4 6/7] sched: add function nr_runn... Peter Zijlstra
- Re: [PATCH v4 6/7] sched: add function nr_... Tim Chen
- Re: [PATCH v4 6/7] sched: add functio... Peter Zijlstra
- Re: [PATCH v4 6/7] sched: add fun... Tim Chen
- Re: [PATCH v4 6/7] sched: add... Peter Zijlstra
- Re: [PATCH v4 6/7] sched: add... Tim Chen
- Re: [PATCH v4 6/7] sched: add... Peter Zijlstra

