powerpc: Fix crash in early boot on some powermacs
authorPaul Mackerras <paulus@samba.org>
Tue, 8 Nov 2005 11:48:08 +0000 (22:48 +1100)
committerPaul Mackerras <paulus@samba.org>
Tue, 8 Nov 2005 11:48:08 +0000 (22:48 +1100)
commit3825ac0ee66b50cb0208ee74796fe65f3040e67c
tree589e3ee480fadacda1e8e43a4566fb2b8c64ab65
parent7e9191daf643255c24893427f966795e4167ca2c
powerpc: Fix crash in early boot on some powermacs

Some powermac machines were crashing in the quiesce firmware call
in prom_init.c because we have just closed the OF stdin device;
notably my 1999 G3 powerbook does this.  To avoid this, don't
close the OF stdin device on powermacs.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/prom_init.c