Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156658290
D30605.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
D30605.diff
View Options
Index: sys/xen/xen_intr.h
===================================================================
--- sys/xen/xen_intr.h
+++ sys/xen/xen_intr.h
@@ -135,6 +135,7 @@
driver_filter_t filter, driver_intr_t handler,
void *arg, enum intr_type irqflags, xen_intr_handle_t *handlep);
+#if defined(__amd64__) || defined(__i386__)
/**
* Allocate a local event channel port for servicing interprocessor
* interupts and, if successful, associate the port with the specified
@@ -151,6 +152,7 @@
int xen_intr_alloc_and_bind_ipi(u_int cpu,
driver_filter_t filter, enum intr_type irqflags,
xen_intr_handle_t *handlep);
+#endif
/**
* Unbind an interrupt handler from its interrupt source.
Index: sys/xen/xen_intr.c
===================================================================
--- sys/xen/xen_intr.c
+++ sys/xen/xen_intr.c
@@ -1158,6 +1158,7 @@
return (0);
}
+#if defined(__amd64__) || defined(__i386__)
int
xen_intr_alloc_and_bind_ipi(u_int cpu, driver_filter_t filter,
enum intr_type flags, xen_intr_handle_t *port_handlep)
@@ -1213,6 +1214,7 @@
return (EOPNOTSUPP);
#endif
}
+#endif
int
xen_intr_describe(xen_intr_handle_t port_handle, const char *fmt, ...)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 16, 11:28 AM (13 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33128458
Default Alt Text
D30605.diff (1 KB)
Attached To
Mode
D30605: xen/intr: remove xen_intr_alloc_and_bind_ipi() from !x86
Attached
Detach File
Event Timeline
Log In to Comment