mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
[ARM] attrib_alloc: fix outer cache flush end address
when allocating uncached pages, the outer cache should be flushed; the end address should be specified in bytes, not in pages. Change-Id: I3fe036f4f7e10e009f96567e3afeeef6ea603240 Signed-off-by: Gary King <gking@nvidia.com>
This commit is contained in:
committed by
Rebecca Schultz Zavin
parent
22adcfad50
commit
f3d83237ea
@@ -121,6 +121,6 @@ struct page *arm_attrib_alloc_pages_exact_node(int nid, gfp_t gfp,
|
||||
update_pte(p, prot);
|
||||
}
|
||||
base = page_to_phys(page);
|
||||
outer_flush_range(base, base + (size >> PAGE_SHIFT));
|
||||
outer_flush_range(base, base + size);
|
||||
return page;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user