kernel: fix trying to set CPUOPM on SH3
Results in an Illegal Instruction no the ICBI that follows the value change.
This commit is contained in:
parent
9d1187b5b4
commit
e2886d2bd7
|
@ -99,7 +99,7 @@ static void drivers_switch(int who)
|
|||
|
||||
static void kinit_cpu(void)
|
||||
{
|
||||
cpu_setCPUOPM(cpu_getCPUOPM() | 0x00000008);
|
||||
if(isSH4()) cpu_setCPUOPM(cpu_getCPUOPM() | 0x00000008);
|
||||
}
|
||||
|
||||
/* kinit(): Install and start gint */
|
||||
|
|
Loading…
Reference in New Issue