提交 376d908f 编写于 作者: B Bastian Blank 提交者: Jeremy Fitzhardinge

xen/evtchn: Fix name of Xen event-channel device

The Xen event-channel device is named evtchn in the kernel but always
used as /dev/xen/evtchn in userspace. This patch fixes the name.
Signed-off-by: NBastian Blank <waldi@debian.org>
Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
上级 3f5e554f
...@@ -517,7 +517,7 @@ static const struct file_operations evtchn_fops = { ...@@ -517,7 +517,7 @@ static const struct file_operations evtchn_fops = {
static struct miscdevice evtchn_miscdev = { static struct miscdevice evtchn_miscdev = {
.minor = MISC_DYNAMIC_MINOR, .minor = MISC_DYNAMIC_MINOR,
.name = "evtchn", .name = "xen/evtchn",
.fops = &evtchn_fops, .fops = &evtchn_fops,
}; };
static int __init evtchn_init(void) static int __init evtchn_init(void)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册