aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2008-09-15 01:03:16 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2008-09-15 01:03:16 +0000
commitcadd87749dc74a8e56ad741188d6740e121db7a4 (patch)
tree0fbf0d4826cd7280c1a143599bd28eb7b5e8570f /sys/powerpc/aim
parent12028e919b0c09952fee9d63cdad543210f717fa (diff)
downloadsrc-cadd87749dc74a8e56ad741188d6740e121db7a4.tar.gz
src-cadd87749dc74a8e56ad741188d6740e121db7a4.zip
Dont worry about PSL_RI (restartable interrupt indicator) in
common PowerPC code when all we want to achieve is to enable external interrupts. We can set PSL_RI at any time before we allow interrupts and/or exceptions, so move it to the AIM specific initialization and do it when we also set PSL_ME (machine check enable).
Notes
Notes: svn path=/head/; revision=183030
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/mp_cpudep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/aim/mp_cpudep.c b/sys/powerpc/aim/mp_cpudep.c
index 5b867dd6ab3b..cd50755ac8fb 100644
--- a/sys/powerpc/aim/mp_cpudep.c
+++ b/sys/powerpc/aim/mp_cpudep.c
@@ -169,7 +169,7 @@ cpudep_ap_bootstrap(volatile uint32_t *trcp)
trcp[0] = 0x2003;
trcp[1] = hid;
- msr = PSL_IR | PSL_DR | PSL_ME;
+ msr = PSL_IR | PSL_DR | PSL_ME | PSL_RI;
mtmsr(msr);
isync();