aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-07-22 01:51:39 -0400
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>2010-07-27 02:13:27 -0400
commit43df95c44e71d009b5a73f104ff183f73af9526f (patch)
treea51441c00ec7ee18d7bd62bc99602fcb0a1d553c /drivers/xen
parent5915100106b8f14a38053ad6c03a664d208aeaa2 (diff)
xenfs: enable for HVM domains too
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/xenfs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/xen/xenfs/super.c b/drivers/xen/xenfs/super.c
index 8924d93136f1..78bfab0700ba 100644
--- a/drivers/xen/xenfs/super.c
+++ b/drivers/xen/xenfs/super.c
@@ -65,7 +65,7 @@ static struct file_system_type xenfs_type = {
65 65
66static int __init xenfs_init(void) 66static int __init xenfs_init(void)
67{ 67{
68 if (xen_pv_domain()) 68 if (xen_domain())
69 return register_filesystem(&xenfs_type); 69 return register_filesystem(&xenfs_type);
70 70
71 printk(KERN_INFO "XENFS: not registering filesystem on non-xen platform\n"); 71 printk(KERN_INFO "XENFS: not registering filesystem on non-xen platform\n");
@@ -74,7 +74,7 @@ static int __init xenfs_init(void)
74 74
75static void __exit xenfs_exit(void) 75static void __exit xenfs_exit(void)
76{ 76{
77 if (xen_pv_domain()) 77 if (xen_domain())
78 unregister_filesystem(&xenfs_type); 78 unregister_filesystem(&xenfs_type);
79} 79}
80 80