]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: remove __calc_phys_offset
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 17 Mar 2015 08:14:29 +0000 (09:14 +0100)
committerWill Deacon <will.deacon@arm.com>
Thu, 19 Mar 2015 19:46:02 +0000 (19:46 +0000)
commit427464c062bdeed71782fb72e4e6fcf4b3a7c460
tree24f44e36f384fc88729185466cbcb5a2e0f67518
parent570a791ec9e857731eb42634adb55a51b0911199
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 <mark.rutland@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/head.S