linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: drop GZFLAGS definition and export
@ 2020-04-15 12:30 Ard Biesheuvel
  2020-04-15 12:41 ` Mark Rutland
  2020-04-28 14:49 ` Will Deacon
  0 siblings, 2 replies; 3+ messages in thread
From: Ard Biesheuvel @ 2020-04-15 12:30 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: mark.rutland, suzuki.poulose, catalin.marinas, james.morse, will,
	Ard Biesheuvel

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(-)

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: drop GZFLAGS definition and export
  2020-04-15 12:30 [PATCH] arm64: drop GZFLAGS definition and export Ard Biesheuvel
@ 2020-04-15 12:41 ` Mark Rutland
  2020-04-28 14:49 ` Will Deacon
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Rutland @ 2020-04-15 12:41 UTC (permalink / raw)
  To: Ard Biesheuvel
  Cc: catalin.marinas, will, james.morse, linux-arm-kernel, suzuki.poulose

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
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] arm64: drop GZFLAGS definition and export
  2020-04-15 12:30 [PATCH] arm64: drop GZFLAGS definition and export Ard Biesheuvel
  2020-04-15 12:41 ` Mark Rutland
@ 2020-04-28 14:49 ` Will Deacon
  1 sibling, 0 replies; 3+ messages in thread
From: Will Deacon @ 2020-04-28 14:49 UTC (permalink / raw)
  To: Ard Biesheuvel, linux-arm-kernel
  Cc: mark.rutland, catalin.marinas, Will Deacon, james.morse, suzuki.poulose

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,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-28 14:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-15 12:30 [PATCH] arm64: drop GZFLAGS definition and export Ard Biesheuvel
2020-04-15 12:41 ` Mark Rutland
2020-04-28 14:49 ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).