Fix build on 32-bit PowerPC, broken in r328537.
This commit is contained in:
parent
9e57d147a9
commit
d079ae0442
@ -85,15 +85,20 @@ cpudep_ap_early_bootstrap(void)
|
||||
break;
|
||||
case IBMPOWER8:
|
||||
case IBMPOWER8E:
|
||||
#ifdef __powerpc64__
|
||||
if (mfmsr() & PSL_HV) {
|
||||
isync();
|
||||
/* Direct interrupts to SRR instead of HSRR and reset LPCR otherwise */
|
||||
/*
|
||||
* Direct interrupts to SRR instead of HSRR and
|
||||
* reset LPCR otherwise
|
||||
*/
|
||||
mtspr(SPR_LPID, 0);
|
||||
isync();
|
||||
|
||||
mtspr(SPR_LPCR, LPCR_LPES);
|
||||
isync();
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user