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:
parent
4560452f01
commit
f184eace75
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user