Fix the psl_userset32 definition.
It should be based on psl_userset, not psl_kernset. As kernset, it would inherit kernel config, including privilege level.
This commit is contained in:
parent
fdabb5f55e
commit
5903f5954a
@ -216,7 +216,7 @@ booke_cpu_init(void)
|
|||||||
#endif
|
#endif
|
||||||
psl_userset = psl_kernset | PSL_PR;
|
psl_userset = psl_kernset | PSL_PR;
|
||||||
#ifdef __powerpc64__
|
#ifdef __powerpc64__
|
||||||
psl_userset32 = psl_kernset & ~PSL_CM;
|
psl_userset32 = psl_userset & ~PSL_CM;
|
||||||
#endif
|
#endif
|
||||||
psl_userstatic = ~(PSL_VEC | PSL_FP | PSL_FE0 | PSL_FE1);
|
psl_userstatic = ~(PSL_VEC | PSL_FP | PSL_FE0 | PSL_FE1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user