[POWERPC] Use is_init() instead of pid==1
authorAkinobu Mita <akinobu.mita@gmail.com>
Tue, 19 Dec 2006 08:35:49 +0000 (17:35 +0900)
committerPaul Mackerras <paulus@samba.org>
Wed, 24 Jan 2007 10:13:56 +0000 (21:13 +1100)
commit60bccbed6f53c953c62bdc2ac699395a13b6eecc
treea631e0dc5cd58d7bd7aa927b42df68fd7c712554
parentded84bcb246780137ecaa3f6d137ac1b0f06fd08
[POWERPC] Use is_init() instead of pid==1

Use is_init() rather than hard coded pid comparison.

Cc: Anton Blanchard <anton@samba.org>
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/traps.c