kernel: do SH3 initialization before context saves
This should be obvious and breaks ctx_save() for the RTC and TMU. Which apparently never came up during testing.
This commit is contained in:
parent
589c25c10c
commit
744d243265
|
@ -58,9 +58,8 @@ static void drivers_save_and_init(GUNUSED int zero)
|
|||
|
||||
for driver_asc(d)
|
||||
{
|
||||
if(d->ctx_save) d->ctx_save(d->sys_ctx);
|
||||
|
||||
if(isSH3() && d->driver_sh3) d->driver_sh3();
|
||||
if(d->ctx_save) d->ctx_save(d->sys_ctx);
|
||||
if(d->init) d->init();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue