summaryrefslogtreecommitdiffstats
path: root/sys/xen
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2008-08-19 02:31:01 +0000
committerkmacy <kmacy@FreeBSD.org>2008-08-19 02:31:01 +0000
commitedc759b8a08e721d485241cbcc6f15b19f4e2e60 (patch)
tree80a218d10808f69386a660a376a5e376265a7523 /sys/xen
parent4bd0b7bf34c4ac2ef6a0a96291adf8669160f7d4 (diff)
downloadFreeBSD-src-edc759b8a08e721d485241cbcc6f15b19f4e2e60.zip
FreeBSD-src-edc759b8a08e721d485241cbcc6f15b19f4e2e60.tar.gz
avoid evtchn_init name collision in gdb
MFC after: 1 month
Diffstat (limited to 'sys/xen')
-rw-r--r--sys/xen/evtchn/evtchn_dev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/xen/evtchn/evtchn_dev.c b/sys/xen/evtchn/evtchn_dev.c
index a232cc1..111b066 100644
--- a/sys/xen/evtchn/evtchn_dev.c
+++ b/sys/xen/evtchn/evtchn_dev.c
@@ -340,7 +340,7 @@ static struct cdev *evtchn_dev;
static int
-evtchn_init(void *dummy __unused)
+evtchn_dev_init(void *dummy __unused)
{
/* XXX I believe we don't need these leaving them here for now until we
* have some semblance of it working
@@ -389,6 +389,6 @@ evtchn_init(void *dummy __unused)
}
-SYSINIT(evtchn_init, SI_SUB_DRIVERS, SI_ORDER_FIRST, evtchn_init, NULL);
+SYSINIT(evtchn_dev_init, SI_SUB_DRIVERS, SI_ORDER_FIRST, evtchn_dev_init, NULL);
OpenPOWER on IntegriCloud