[PATCH] arm64: get rid of TEXT_OFFSET

Anshuman Khandual anshuman.khandual at arm.com
Wed Sep 2 02:49:44 EDT 2020



On 08/25/2020 07:24 PM, Ard Biesheuvel wrote:
> TEXT_OFFSET serves no purpose, and for this reason, it was redefined
> as 0x0 in the v5.8 timeframe. Since this does not appear to have caused
> any issues that require us to revisit that decision, let's get rid of the
> macro entirely, along with any references to it.
> 
> Signed-off-by: Ard Biesheuvel <ardb at kernel.org>
> ---
>  arch/arm64/Makefile                       |  6 ------
>  arch/arm64/include/asm/boot.h             |  3 +--
>  arch/arm64/include/asm/kernel-pgtable.h   |  2 +-
>  arch/arm64/include/asm/memory.h           |  2 +-
>  arch/arm64/kernel/Makefile                |  2 --
>  arch/arm64/kernel/head.S                  | 16 ++++++----------
>  arch/arm64/kernel/image.h                 |  1 -
>  arch/arm64/kernel/vmlinux.lds.S           |  4 ++--
>  drivers/firmware/efi/libstub/Makefile     |  1 -
>  drivers/firmware/efi/libstub/arm64-stub.c |  6 +++---
>  10 files changed, 14 insertions(+), 29 deletions(-)

Documentation/arm64/booting.rst needs an update ?



More information about the linux-arm-kernel mailing list