View | Details | Raw Unified | Return to bug 208045 | Differences between
and this patch

Collapse All | Expand All

(-)a/drivers/target/target_core_user.c (-2 / +1 lines)
Lines 601-607 static inline void tcmu_flush_dcache_range(void *vaddr, size_t size) Link Here
601
	size = round_up(size+offset, PAGE_SIZE);
601
	size = round_up(size+offset, PAGE_SIZE);
602
602
603
	while (size) {
603
	while (size) {
604
		flush_dcache_page(virt_to_page(start));
604
		flush_dcache_page(vmalloc_to_page(start));
605
		start += PAGE_SIZE;
605
		start += PAGE_SIZE;
606
		size -= PAGE_SIZE;
606
		size -= PAGE_SIZE;
607
	}
607
	}
608
- 

Return to bug 208045