Merge branch 'linus' into x86/xen
[cascardo/linux.git] / drivers / block / xen-blkfront.c
index bff602c..1a50ae7 100644 (file)
@@ -1066,7 +1066,7 @@ static struct xenbus_driver blkfront = {
 
 static int __init xlblk_init(void)
 {
-       if (!is_running_on_xen())
+       if (!xen_domain())
                return -ENODEV;
 
        if (register_blkdev(XENVBD_MAJOR, DEV_NAME)) {