]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/xen/xen-ops.h
appletalk: Fix potential NULL pointer dereference in unregister_snap_client
[mirror_ubuntu-bionic-kernel.git] / include / xen / xen-ops.h
index fd23e42c6024285530425073e8d3060bb1fafa56..32b190b5fc28c0ec3794661a63ba908b921f9860 100644 (file)
@@ -41,7 +41,7 @@ int xen_setup_shutdown_event(void);
 
 extern unsigned long *xen_contiguous_bitmap;
 
-#ifdef CONFIG_XEN_PV
+#if defined(CONFIG_XEN_PV) || defined(CONFIG_ARM) || defined(CONFIG_ARM64)
 int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order,
                                unsigned int address_bits,
                                dma_addr_t *dma_handle);