lkml.org 
[lkml]   [2023]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v5 04/34] x86/traps: add external_interrupt() to dispatch external interrupts
Date
> > +	if (sysvec < NR_SYSTEM_VECTORS) {
> > + if (system_interrupt_handlers[sysvec])
> > + system_interrupt_handlers[sysvec](regs);
> > + else
> > + dispatch_spurious_interrupt(regs, vector);
>
> ISTR suggesting you can get rid of this branch if you stuff
> system_interrupt_handlers[] with dispatch_spurious_interrupt instead of NULL.

You're right, however I only fixed one.

\
 
 \ /
  Last update: 2023-03-27 01:09    [W:0.120 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site