kexec: Switch to __pa_symbol
authorLaura Abbott <labbott@redhat.com>
Tue, 10 Jan 2017 21:35:43 +0000 (13:35 -0800)
committerWill Deacon <will.deacon@arm.com>
Wed, 11 Jan 2017 13:56:49 +0000 (13:56 +0000)
commitb6e92aa81038ce57d298a87b4c44285a1d456c3e
tree7a2ea286e4dcc54c357979b7881a35291d47eb82
parent568c5fe5a54f2654f5a4c599c45b8a62ed9a2013
kexec: Switch to __pa_symbol

__pa_symbol is the correct api to get the physical address of kernel
symbols. Switch to it to allow for better debug checking.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
kernel/kexec_core.c