[PATCH] arm64: get rid of TEXT_OFFSET
Will Deacon
will at kernel.org
Mon Sep 7 09:59:53 EDT 2020
On Wed, Sep 02, 2020 at 12:19:44PM +0530, Anshuman Khandual wrote:
> 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 ?
What specifically do you think needs updating?
Will
More information about the linux-arm-kernel
mailing list