xen: Remove now-obsolete xen_xc_domain_add_to_physmap
The last user was just removed; remove this function, accordingly. Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> Acked-by: Anthony PERARD <anthony.perard@citrix.com>
This commit is contained in:
		
							parent
							
								
									2cbf890353
								
							
						
					
					
						commit
						1c4010fa09
					
				| @ -645,28 +645,6 @@ static inline int xen_set_ioreq_server_state(domid_t dom, | ||||
| 
 | ||||
| #endif | ||||
| 
 | ||||
| #if CONFIG_XEN_CTRL_INTERFACE_VERSION < 40600 | ||||
| static inline int xen_xc_domain_add_to_physmap(xc_interface *xch, uint32_t domid, | ||||
|                                                unsigned int space, | ||||
|                                                unsigned long idx, | ||||
|                                                xen_pfn_t gpfn) | ||||
| { | ||||
|     return xc_domain_add_to_physmap(xch, domid, space, idx, gpfn); | ||||
| } | ||||
| #else | ||||
| static inline int xen_xc_domain_add_to_physmap(xc_interface *xch, uint32_t domid, | ||||
|                                                unsigned int space, | ||||
|                                                unsigned long idx, | ||||
|                                                xen_pfn_t gpfn) | ||||
| { | ||||
|     /* In Xen 4.6 rc is -1 and errno contains the error value. */ | ||||
|     int rc = xc_domain_add_to_physmap(xch, domid, space, idx, gpfn); | ||||
|     if (rc == -1) | ||||
|         return errno; | ||||
|     return rc; | ||||
| } | ||||
| #endif | ||||
| 
 | ||||
| #ifdef CONFIG_XEN_PV_DOMAIN_BUILD | ||||
| #if CONFIG_XEN_CTRL_INTERFACE_VERSION < 40700 | ||||
| static inline int xen_domain_create(xc_interface *xc, uint32_t ssidref, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ian Jackson
						Ian Jackson