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

From: Juergen Gross
Date: Fri Apr 01 2016 - 03:40:10 EST


On 01/04/16 09:37, Peter Zijlstra wrote:
> 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.

Aah, okay. Will change.


Juergen