[PATCH v3 2/6] smp: add function to execute a function synchronously on a physical cpu

Peter Zijlstra
Fri, 01 Apr 2016 07:37:33 -0000

On Fri, Apr 01, 2016 at 09:14:30AM +0200, Juergen Gross
wrote:
> +	if (cpu >= nr_cpu_ids)
> +		return -EINVAL;

> +	if (cpu != 0)
> +		return -EINVAL;

The other functions return -ENXIO for this.