From: Ard Biesheuvel Date: Tue, 17 Mar 2015 08:14:29 +0000 (+0100) Subject: arm64: remove __calc_phys_offset X-Git-Tag: omap-for-v4.2/o2_dc~115^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f4d57fa7021efbf135cfa068d56bc5035edffa1;p=pandora-kernel.git arm64: remove __calc_phys_offset This removes the function __calc_phys_offset and all open coded virtual to physical address translations using the offset kept in x28. Instead, just use absolute or PC-relative symbol references as appropriate when referring to virtual or physical addresses, respectively. Tested-by: Mark Rutland Reviewed-by: Mark Rutland Signed-off-by: Ard Biesheuvel Signed-off-by: Will Deacon --- Reading git-diff-tree failed