projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'regmap-v3.14' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
net
/
xen-netfront.c
diff --git
a/drivers/net/xen-netfront.c
b/drivers/net/xen-netfront.c
index d7bee8a5308e6cf2b54eaf20a611bea3f48490e0..e955c569298626c924f6cec16c3d32de8bec54d6 100644
(file)
--- a/
drivers/net/xen-netfront.c
+++ b/
drivers/net/xen-netfront.c
@@
-2111,7
+2111,7
@@
static int __init netif_init(void)
if (!xen_domain())
return -ENODEV;
- if (
xen_hvm_domain() && !xen_platform_pci_unplug
)
+ if (
!xen_has_pv_nic_devices()
)
return -ENODEV;
pr_info("Initialising Xen virtual ethernet driver\n");