commit | 9a7ca034b22c6b92a05d7fe365605508889065b8 | [log] [tgz] |
---|---|---|
author | Paul Burton <paul.burton@imgtec.com> | Mon Sep 26 19:28:57 2016 +0100 |
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | Wed Nov 30 16:18:19 2016 +0100 |
tree | e98e62c2e8a860fc0d28ac40b0d5368b7cd66425 | |
parent | 0ecd9031210838327903afedd5fb7532080635b5 [diff] |
MIPS: Fix map_physmem for cached mappings map_physmem should return a pointer that can be used by the CPU to access the given memory - on MIPS simply returning the physical address as it does prior to this patch doesn't achieve that. Instead return a pointer to the memory within (c)kseg0, which matches up consistently with the (c)kseg1 pointer that uncached mappings return via ioremap. Signed-off-by: Paul Burton <paul.burton@imgtec.com>