Re: [PATCH] smp: harmonize prototypes of smp functions

2013-09-18 Thread Javi Merino
On Tue, Sep 17, 2013 at 10:22:28PM +0100, Andrew Morton wrote: > On Mon, 2 Sep 2013 15:33:13 +0100 Javi Merino wrote: > > > Avoid unnecessary casts from int to bool in smp functions. Some > > functions in kernel/smp.c have a wait parameter that can be set to one > > if you want to wait for the

Re: [PATCH] smp: harmonize prototypes of smp functions

2013-09-18 Thread Javi Merino
On Tue, Sep 17, 2013 at 10:22:28PM +0100, Andrew Morton wrote: On Mon, 2 Sep 2013 15:33:13 +0100 Javi Merino javi.mer...@arm.com wrote: Avoid unnecessary casts from int to bool in smp functions. Some functions in kernel/smp.c have a wait parameter that can be set to one if you want to

Re: [PATCH] smp: harmonize prototypes of smp functions

2013-09-17 Thread Andrew Morton
On Mon, 2 Sep 2013 15:33:13 +0100 Javi Merino wrote: > Avoid unnecessary casts from int to bool in smp functions. Some > functions in kernel/smp.c have a wait parameter that can be set to one > if you want to wait for the command to complete. It's defined as bool > in a few of them and int in

Re: [PATCH] smp: harmonize prototypes of smp functions

2013-09-17 Thread Andrew Morton
On Mon, 2 Sep 2013 15:33:13 +0100 Javi Merino javi.mer...@arm.com wrote: Avoid unnecessary casts from int to bool in smp functions. Some functions in kernel/smp.c have a wait parameter that can be set to one if you want to wait for the command to complete. It's defined as bool in a few of

[PATCH] smp: harmonize prototypes of smp functions

2013-09-02 Thread Javi Merino
Avoid unnecessary casts from int to bool in smp functions. Some functions in kernel/smp.c have a wait parameter that can be set to one if you want to wait for the command to complete. It's defined as bool in a few of them and int in the rest. If a function with wait declared as int calls a

[PATCH] smp: harmonize prototypes of smp functions

2013-09-02 Thread Javi Merino
Avoid unnecessary casts from int to bool in smp functions. Some functions in kernel/smp.c have a wait parameter that can be set to one if you want to wait for the command to complete. It's defined as bool in a few of them and int in the rest. If a function with wait declared as int calls a