Hi Paul, On Sat, 10 Aug 2013 13:45:30 +1000 Paul Mackerras <pau...@samba.org> wrote: > > This factors out the details of updating cpu_core_mask into a separate > function, to make it easier to change how the mask is calculated later. > This makes no functional change. > > Signed-off-by: Paul Mackerras <pau...@samba.org> > --- > arch/powerpc/kernel/smp.c | 56 > +++++++++++++++++++++++------------------------ > 1 file changed, 28 insertions(+), 28 deletions(-) > > diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c > index 38b0ba6..663cefd 100644 > --- a/arch/powerpc/kernel/smp.c > +++ b/arch/powerpc/kernel/smp.c > @@ -609,11 +609,36 @@ static struct device_node *cpu_to_l2cache(int cpu) > return cache; > } > > +static void traverse_core_siblings(int cpu, int add)
This "add" parameter is only used as a boolean, so should be declared that way. -- Cheers, Stephen Rothwell s...@canb.auug.org.au
pgpR0OW4Uggnu.pgp
Description: PGP signature
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev