[PATCH/RFC] Change the program check exception from EXC_XFER_STD to EXC_XFER_EE.
Paul Mackerras
paulus at samba.org
Fri Dec 8 15:26:38 EST 2006
Kumar Gala writes:
> We don't need to rearrange anything, just put the local_irq_enable()
> call in do_mathemu(). If we are a debugger than REASON_TRAP will
> have to be set and we dont bother with do_mathemu() than.
>
> Do you think we should also move the local_irq_enable() that exists
> in the handler into emulate_instruction().
I'd rather have the local_irq_enable() calls in
program_check_exception() so they're all in one place, preferably with
a comment explaining why they're there. Having an unpaired
local_irq_enable in do_mathemu() would seem a bit weird to me.
Paul.
More information about the Linuxppc-dev
mailing list