Re: [PATCH] powerpc: use is_init()

2006-12-19 Thread Akinobu Mita
On Wed, Dec 20, 2006 at 03:06:51PM +1100, Paul Mackerras wrote: > Akinobu Mita writes: > > > Use is_init() rather than hard coded pid comparison. > > What's the context of this patch? Why is this a good thing to do? > This is just minor cleanup patch. is_init() is available on 2.6.20-rc1

Re: [PATCH] powerpc: use is_init()

2006-12-19 Thread Paul Mackerras
Akinobu Mita writes: > Use is_init() rather than hard coded pid comparison. What's the context of this patch? Why is this a good thing to do? Doing a git grep -w is_init on Linus' current git tree reveals an is_init() in arch/parisc/kernel/module.c, which looks to be something different, but

[PATCH] powerpc: use is_init()

2006-12-19 Thread Akinobu Mita
Use is_init() rather than hard coded pid comparison. Cc: Paul Mackerras <[EMAIL PROTECTED]> Cc: Anton Blanchard <[EMAIL PROTECTED]> Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]> --- arch/powerpc/kernel/traps.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index:

[PATCH] powerpc: use is_init()

2006-12-19 Thread Akinobu Mita
Use is_init() rather than hard coded pid comparison. Cc: Paul Mackerras [EMAIL PROTECTED] Cc: Anton Blanchard [EMAIL PROTECTED] Signed-off-by: Akinobu Mita [EMAIL PROTECTED] --- arch/powerpc/kernel/traps.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index:

Re: [PATCH] powerpc: use is_init()

2006-12-19 Thread Paul Mackerras
Akinobu Mita writes: Use is_init() rather than hard coded pid comparison. What's the context of this patch? Why is this a good thing to do? Doing a git grep -w is_init on Linus' current git tree reveals an is_init() in arch/parisc/kernel/module.c, which looks to be something different, but no

Re: [PATCH] powerpc: use is_init()

2006-12-19 Thread Akinobu Mita
On Wed, Dec 20, 2006 at 03:06:51PM +1100, Paul Mackerras wrote: Akinobu Mita writes: Use is_init() rather than hard coded pid comparison. What's the context of this patch? Why is this a good thing to do? This is just minor cleanup patch. is_init() is available on 2.6.20-rc1