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:
Justin Hibbits 2018-03-01 04:44:17 +00:00
parent fdabb5f55e
commit 5903f5954a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330147

View File

@ -216,7 +216,7 @@ booke_cpu_init(void)
#endif
psl_userset = psl_kernset | PSL_PR;
#ifdef __powerpc64__
psl_userset32 = psl_kernset & ~PSL_CM;
psl_userset32 = psl_userset & ~PSL_CM;
#endif
psl_userstatic = ~(PSL_VEC | PSL_FP | PSL_FE0 | PSL_FE1);