]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/block/xen-blkfront.c
xen: clean up domain mode predicates
[linux-2.6-omap-h63xx.git] / drivers / block / xen-blkfront.c
index 3ca643cafccdc6be26bb24532db09ccddeff12f9..d5e753255153cb2e40232d72ab8b9be4551ec44b 100644 (file)
@@ -1032,7 +1032,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)) {