diff options
author | Laura Abbott <labbott@redhat.com> | 2017-01-10 22:35:44 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2017-01-11 14:56:50 +0100 |
commit | 5c6a84a3f4558a6115fef1b59343c7ae56b3abc3 (patch) | |
tree | deadee2a46cb0675e319ec47db6753f5a73686e2 /mm/usercopy.c | |
parent | kexec: Switch to __pa_symbol (diff) | |
download | linux-5c6a84a3f4558a6115fef1b59343c7ae56b3abc3.tar.xz linux-5c6a84a3f4558a6115fef1b59343c7ae56b3abc3.zip |
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 '')
0 files changed, 0 insertions, 0 deletions