if (map->cached)
memcpy(to, (char *)map->cached + from, len);
else
- memcpy(to, map->virt + from, len);
+ memcpy_fromio(to, map->virt + from, len);
}
static inline void inline_map_copy_to(struct map_info *map, unsigned long to, const void *from, ssize_t len)