In intr_event_handle() we already save and set td_intr_frame, so
don't do it also in ia64_handle_intr(). With ia64_handle_intr() not saving and setting td_intr_frame, make sure to do it for timer interrupts in ia64_ih_hardclock().
This commit is contained in:
parent
c8afe4038e
commit
47c6266afd
@ -113,10 +113,14 @@ ia64_ih_ast(struct thread *td, u_int xiv, struct trapframe *tf)
|
||||
static u_int
|
||||
ia64_ih_hardclock(struct thread *td, u_int xiv, struct trapframe *tf)
|
||||
{
|
||||
struct trapframe *stf;
|
||||
|
||||
PCPU_INC(md.stats.pcs_nhardclocks);
|
||||
CTR1(KTR_SMP, "IPI_HARDCLOCK, cpuid=%d", PCPU_GET(cpuid));
|
||||
stf = td->td_intr_frame;
|
||||
td->td_intr_frame = tf;
|
||||
hardclockintr();
|
||||
td->td_intr_frame = stf;
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user