commit | fe6682da0bc435a62f3a5189ec203dcba9f91183 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Tue Sep 22 14:45:25 2015 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Thu Oct 15 10:52:13 2015 -0400 |
tree | 8747ce7488798a32747dbee014f68fc613900b24 | |
parent | 3c6ae7c1ee97460d9f0f7ef07b97d793c385d29d [diff] |
malloc: Don't mix virtual and physical addresses Consistently use 'u32' for physical addresses and pointers for virtual addresses in the malloc code. Introduce and use memremap() where a physical address needs to be converted to a virtual address. Use virt_to_phys() for the inverse. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>