Re: [PATCH] powerpc: use is_init()

From: Paul Mackerras
Date: Tue Dec 19 2006 - 23:56:55 EST


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 generic definition of an is_init() function or
macro.

Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/