Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110973234
D37688.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D37688.diff
View Options
diff --git a/sys/kern/kern_intr.c b/sys/kern/kern_intr.c
--- a/sys/kern/kern_intr.c
+++ b/sys/kern/kern_intr.c
@@ -1346,8 +1346,8 @@
*
* Input:
* o ie: the event connected to this interrupt.
- * o frame: some archs (i.e. i386) pass a frame to some.
- * handlers as their main argument.
+ * o frame: the current trap frame.
+ *
* Return value:
* o 0: everything ok.
* o EINVAL: stray interrupt.
@@ -1374,9 +1374,6 @@
/*
* Execute fast interrupt handlers directly.
- * To support clock handlers, if a handler registers
- * with a NULL argument, then we pass it a pointer to
- * a trapframe as its argument.
*/
td->td_intr_nesting_level++;
filter = false;
@@ -1405,12 +1402,8 @@
continue;
}
CTR4(KTR_INTR, "%s: exec %p(%p) for %s", __func__,
- ih->ih_filter, ih->ih_argument == NULL ? frame :
- ih->ih_argument, ih->ih_name);
- if (ih->ih_argument == NULL)
- ret = ih->ih_filter(frame);
- else
- ret = ih->ih_filter(ih->ih_argument);
+ ih->ih_filter, ih->ih_argument, ih->ih_name);
+ ret = ih->ih_filter(ih->ih_argument);
#ifdef HWPMC_HOOKS
PMC_SOFT_CALL_TF( , , intr, all, frame);
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 26, 3:50 PM (1 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16854444
Default Alt Text
D37688.diff (1 KB)
Attached To
Mode
D37688: kern/intr: remove support for passing trap frame as argument
Attached
Detach File
Event Timeline
Log In to Comment