From 9e283cf9a2fe2b3aa6e4a47a012fd43b4e49ebec Mon Sep 17 00:00:00 2001 From: Peter Grehan Date: Wed, 8 Jan 2003 12:20:46 +0000 Subject: [PATCH] Be more conservative about re-enabling interrupts during trap processing until atomic issues are fully sorted. Approved by: benno --- sys/powerpc/aim/interrupt.c | 2 +- sys/powerpc/powerpc/interrupt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/powerpc/aim/interrupt.c b/sys/powerpc/aim/interrupt.c index 0ea231108576..90125657300a 100644 --- a/sys/powerpc/aim/interrupt.c +++ b/sys/powerpc/aim/interrupt.c @@ -109,9 +109,9 @@ powerpc_interrupt(struct trapframe *framep) */ #if 0 printf("powerpc_interrupt: got trap\n"); -#endif mtmsr(mfmsr() | PSL_EE); isync(); +#endif trap(framep); } } diff --git a/sys/powerpc/powerpc/interrupt.c b/sys/powerpc/powerpc/interrupt.c index 0ea231108576..90125657300a 100644 --- a/sys/powerpc/powerpc/interrupt.c +++ b/sys/powerpc/powerpc/interrupt.c @@ -109,9 +109,9 @@ powerpc_interrupt(struct trapframe *framep) */ #if 0 printf("powerpc_interrupt: got trap\n"); -#endif mtmsr(mfmsr() | PSL_EE); isync(); +#endif trap(framep); } }