Commit 8ba9b9a9 authored by Charles Jacobsen's avatar Charles Jacobsen Committed by Vikram Narayanan

pmfs: mount: Builds with redefined ioremap, request region.

parent cda5ec74
......@@ -621,4 +621,20 @@ void lcd_iounmap_phys(gpa_t phys_addr, unsigned long size);
* returns the guest virtual address
*/
void *lcd_ioremap(unsigned long phys_addr, unsigned int size);
/**
* lcd_ioremap_cache -- Same as lcd_ioremap
*
* Assumes someone else (e.g. glue code) previously mapped the
* memory already using lcd_map_phys.
*/
void *lcd_ioremap_cache(unsigned long phys_addr, unsigned long size);
/**
* lcd_iounmap -- No-op for now
*
* This is meant to fulfill the functionality of regular iounmap. But since
* lcd_ioremap doesn't do any mapping (just phys->virt translation), there
* is no mapping to undo.
*/
void lcd_iounmap(void *addr);
#endif /* LCD_DOMAINS_MEM_H */
......@@ -234,7 +234,7 @@ void lcd_unmap_virt(gva_t base, unsigned int order)
do_unmap_from_phys(gp_base, order);
}
void *lcd_ioremap_cache(resource_size_t phys_addr, unsigned long size)
void *lcd_ioremap_cache(unsigned long phys_addr, unsigned long size)
{
/*
* Assumes someone already mapped the memory; we just
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment