Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144635594
D35529.1775927644.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D35529.1775927644.diff
View Options
Index: sys/x86/include/intr_machdep.h
===================================================================
--- sys/x86/include/intr_machdep.h
+++ sys/x86/include/intr_machdep.h
@@ -148,7 +148,7 @@
int intr_config_intr(struct intsrc *isrc, enum intr_trigger trig,
enum intr_polarity pol);
int intr_describe(struct intsrc *isrc, void *ih, const char *descr);
-void intr_execute_handlers(u_int vector, struct intsrc *isrc,
+u_long intr_execute_handlers(u_int vector, struct intsrc *isrc,
struct trapframe *frame);
u_int intr_next_cpu(int domain);
struct intsrc *intr_lookup_source(int vector);
Index: sys/x86/x86/intr_machdep.c
===================================================================
--- sys/x86/x86/intr_machdep.c
+++ sys/x86/x86/intr_machdep.c
@@ -315,7 +315,7 @@
isrc->is_pic->pic_disable_source(isrc, PIC_EOI);
}
-void
+u_long
intr_execute_handlers(u_int vector, struct intsrc *isrc,
struct trapframe *frame)
{
@@ -352,7 +352,9 @@
log(LOG_CRIT,
"too many stray irq %d's: not logging anymore\n",
vector);
+ return (*isrc->is_straycount);
}
+ return (0);
}
void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 11, 5:14 PM (11 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28325734
Default Alt Text
D35529.1775927644.diff (1 KB)
Attached To
Mode
D35529: intr/x86: intr_execute_handlers() return stray count
Attached
Detach File
Event Timeline
Log In to Comment