diff options
author | Laura Abbott <labbott@redhat.com> | 2017-01-10 13:35:44 -0800 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-01-11 13:56:50 +0000 |
commit | 5c6a84a3f4558a6115fef1b59343c7ae56b3abc3 (patch) | |
tree | deadee2a46cb0675e319ec47db6753f5a73686e2 /mm/usercopy.c | |
parent | b6e92aa81038ce57d298a87b4c44285a1d456c3e (diff) |
mm/kasan: Switch to using __pa_symbol and lm_alias
__pa_symbol is the correct API to find the physical address of symbols.
Switch to it to allow for debugging APIs to work correctly. Other
functions such as p*d_populate may call __pa internally. Ensure that the
address passed is in the linear region by calling lm_alias.
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'mm/usercopy.c')
0 files changed, 0 insertions, 0 deletions