aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/netback.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/xen-netback/netback.c')
-rw-r--r--drivers/net/xen-netback/netback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c
index 0cb594c86090..951c713cb2c8 100644
--- a/drivers/net/xen-netback/netback.c
+++ b/drivers/net/xen-netback/netback.c
@@ -1638,7 +1638,7 @@ static int __init netback_init(void)
1638 int rc = 0; 1638 int rc = 0;
1639 int group; 1639 int group;
1640 1640
1641 if (!xen_pv_domain()) 1641 if (!xen_domain())
1642 return -ENODEV; 1642 return -ENODEV;
1643 1643
1644 xen_netbk_group_nr = num_online_cpus(); 1644 xen_netbk_group_nr = num_online_cpus();