From 1bdf6e36a7de0c12c3862600c721052ed96a99d1 Mon Sep 17 00:00:00 2001 From: Kip Macy Date: Tue, 19 Aug 2008 02:31:01 +0000 Subject: [PATCH] avoid evtchn_init name collision in gdb MFC after: 1 month --- sys/xen/evtchn/evtchn_dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/xen/evtchn/evtchn_dev.c b/sys/xen/evtchn/evtchn_dev.c index a232cc138eb3..111b066b4bcf 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);