mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=263257
@ -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