diff mbox series

arm64: drop GZFLAGS definition and export

Message ID 20200415123049.25504-1-ardb@kernel.org (mailing list archive)
State Mainlined
Commit 4cf234943dcfa16e33daa3429fabc71d166dfb14
Headers show
Series arm64: drop GZFLAGS definition and export | expand

Commit Message

Ard Biesheuvel April 15, 2020, 12:30 p.m. UTC
Drop the definition and export of GZFLAGS, which was never referenced
on arm64, and whose last recorded use in the ARM port (on which arm64
was based original) was removed by patch

  commit 5e89d379edb5ae08b57f39dd8d91697275245cbf [*]
  Author: Russell King <rmk@flint.arm.linux.org.uk>
  Date:   Wed Oct 16 14:32:17 2002 +0100

    [ARM] Convert ARM makefiles to new kbuild (Sam Ravnborg, Kai, rmk)

[*] git commit ID based on Thomas Gleixner's historical GIT repository at
    git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
---
 arch/arm64/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Mark Rutland April 15, 2020, 12:41 p.m. UTC | #1
On Wed, Apr 15, 2020 at 02:30:49PM +0200, Ard Biesheuvel wrote:
> Drop the definition and export of GZFLAGS, which was never referenced
> on arm64, and whose last recorded use in the ARM port (on which arm64
> was based original) was removed by patch
> 
>   commit 5e89d379edb5ae08b57f39dd8d91697275245cbf [*]
>   Author: Russell King <rmk@flint.arm.linux.org.uk>
>   Date:   Wed Oct 16 14:32:17 2002 +0100
> 
>     [ARM] Convert ARM makefiles to new kbuild (Sam Ravnborg, Kai, rmk)
> 
> [*] git commit ID based on Thomas Gleixner's historical GIT repository at
>     git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git
> 
> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>

Acked-by: Mark Rutland <mark.rutland@arm.com>

Mark.

> ---
>  arch/arm64/Makefile | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
> index 8e9445faa8ac..e48867c335d2 100644
> --- a/arch/arm64/Makefile
> +++ b/arch/arm64/Makefile
> @@ -12,7 +12,6 @@
>  
>  LDFLAGS_vmlinux	:=--no-undefined -X
>  CPPFLAGS_vmlinux.lds = -DTEXT_OFFSET=$(TEXT_OFFSET)
> -GZFLAGS		:=-9
>  
>  ifeq ($(CONFIG_RELOCATABLE), y)
>  # Pass --no-apply-dynamic-relocs to restore pre-binutils-2.27 behaviour
> @@ -131,7 +130,7 @@ KBUILD_CFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
>  KBUILD_CPPFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
>  KBUILD_AFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
>  
> -export	TEXT_OFFSET GZFLAGS
> +export	TEXT_OFFSET
>  
>  core-y		+= arch/arm64/
>  libs-y		:= arch/arm64/lib/ $(libs-y)
> -- 
> 2.17.1
>
Will Deacon April 28, 2020, 2:49 p.m. UTC | #2
On Wed, 15 Apr 2020 14:30:49 +0200, Ard Biesheuvel wrote:
> Drop the definition and export of GZFLAGS, which was never referenced
> on arm64, and whose last recorded use in the ARM port (on which arm64
> was based original) was removed by patch
> 
>   commit 5e89d379edb5ae08b57f39dd8d91697275245cbf [*]
>   Author: Russell King <rmk@flint.arm.linux.org.uk>
>   Date:   Wed Oct 16 14:32:17 2002 +0100
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: drop GZFLAGS definition and export
      https://git.kernel.org/arm64/c/4cf234943dcf

Cheers,
diff mbox series

Patch

diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile
index 8e9445faa8ac..e48867c335d2 100644
--- a/arch/arm64/Makefile
+++ b/arch/arm64/Makefile
@@ -12,7 +12,6 @@ 
 
 LDFLAGS_vmlinux	:=--no-undefined -X
 CPPFLAGS_vmlinux.lds = -DTEXT_OFFSET=$(TEXT_OFFSET)
-GZFLAGS		:=-9
 
 ifeq ($(CONFIG_RELOCATABLE), y)
 # Pass --no-apply-dynamic-relocs to restore pre-binutils-2.27 behaviour
@@ -131,7 +130,7 @@  KBUILD_CFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
 KBUILD_CPPFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
 KBUILD_AFLAGS += -DKASAN_SHADOW_SCALE_SHIFT=$(KASAN_SHADOW_SCALE_SHIFT)
 
-export	TEXT_OFFSET GZFLAGS
+export	TEXT_OFFSET
 
 core-y		+= arch/arm64/
 libs-y		:= arch/arm64/lib/ $(libs-y)