Don't close OF disk devices on PowerPC. This fixes loader when booting from

disk on my Blue & White G3 system.
This commit is contained in:
Nathan Whitehorn 2008-10-13 17:14:29 +00:00
parent 4560452f01
commit f184eace75

View File

@ -155,7 +155,9 @@ ofwd_close(struct open_file *f)
if (odp->count == 0) {
SLIST_REMOVE(&opened_devs, odp, opened_dev,
link);
#if !defined(__powerpc__)
OF_close(odp->handle);
#endif
free(odp);
}
break;