All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: compat: Remove leftover variable declaration
@ 2017-08-04 17:17 ` Mark Salyzyn
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Salyzyn @ 2017-08-04 17:17 UTC (permalink / raw)
  To: linux-kernel
  Cc: Kevin Brodsky, Mark Salyzyn, Catalin Marinas, Will Deacon,
	linux-arm-kernel

From: Kevin Brodsky <kevin.brodsky@arm.com>

Commit a1d5ebaf8ccd ("arm64: big-endian: don't treat code as data when
copying sigret code") moved the 32-bit sigreturn trampoline code from
the aarch32_sigret_code array to kuser32.S. The commit removed the
array definition from signal32.c, but not its declaration in
signal32.h. Remove the leftover declaration.

Signed-off-by: Kevin Brodsky <kevin.brodsky@arm.com>
Signed-off-by: Mark Salyzyn <salyzyn@android.com>
---
 arch/arm64/include/asm/signal32.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/include/asm/signal32.h b/arch/arm64/include/asm/signal32.h
index eeaa97559bab..81abea0b7650 100644
--- a/arch/arm64/include/asm/signal32.h
+++ b/arch/arm64/include/asm/signal32.h
@@ -22,8 +22,6 @@
 
 #define AARCH32_KERN_SIGRET_CODE_OFFSET	0x500
 
-extern const compat_ulong_t aarch32_sigret_code[6];
-
 int compat_setup_frame(int usig, struct ksignal *ksig, sigset_t *set,
 		       struct pt_regs *regs);
 int compat_setup_rt_frame(int usig, struct ksignal *ksig, sigset_t *set,
-- 
2.14.0.rc1.383.gd1ce394fe2-goog

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

* [PATCH] arm64: compat: Remove leftover variable declaration
@ 2017-08-04 17:17 ` Mark Salyzyn
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Salyzyn @ 2017-08-04 17:17 UTC (permalink / raw)
  To: linux-arm-kernel

From: Kevin Brodsky <kevin.brodsky@arm.com>

Commit a1d5ebaf8ccd ("arm64: big-endian: don't treat code as data when
copying sigret code") moved the 32-bit sigreturn trampoline code from
the aarch32_sigret_code array to kuser32.S. The commit removed the
array definition from signal32.c, but not its declaration in
signal32.h. Remove the leftover declaration.

Signed-off-by: Kevin Brodsky <kevin.brodsky@arm.com>
Signed-off-by: Mark Salyzyn <salyzyn@android.com>
---
 arch/arm64/include/asm/signal32.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/include/asm/signal32.h b/arch/arm64/include/asm/signal32.h
index eeaa97559bab..81abea0b7650 100644
--- a/arch/arm64/include/asm/signal32.h
+++ b/arch/arm64/include/asm/signal32.h
@@ -22,8 +22,6 @@
 
 #define AARCH32_KERN_SIGRET_CODE_OFFSET	0x500
 
-extern const compat_ulong_t aarch32_sigret_code[6];
-
 int compat_setup_frame(int usig, struct ksignal *ksig, sigset_t *set,
 		       struct pt_regs *regs);
 int compat_setup_rt_frame(int usig, struct ksignal *ksig, sigset_t *set,
-- 
2.14.0.rc1.383.gd1ce394fe2-goog

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

* Re: [PATCH] arm64: compat: Remove leftover variable declaration
  2017-08-04 17:17 ` Mark Salyzyn
@ 2017-08-10 17:17   ` Catalin Marinas
  -1 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2017-08-10 17:17 UTC (permalink / raw)
  To: Mark Salyzyn; +Cc: linux-kernel, Kevin Brodsky, Will Deacon, linux-arm-kernel

On Fri, Aug 04, 2017 at 10:17:00AM -0700, Mark Salyzyn wrote:
> From: Kevin Brodsky <kevin.brodsky@arm.com>
> 
> Commit a1d5ebaf8ccd ("arm64: big-endian: don't treat code as data when
> copying sigret code") moved the 32-bit sigreturn trampoline code from
> the aarch32_sigret_code array to kuser32.S. The commit removed the
> array definition from signal32.c, but not its declaration in
> signal32.h. Remove the leftover declaration.
> 
> Signed-off-by: Kevin Brodsky <kevin.brodsky@arm.com>
> Signed-off-by: Mark Salyzyn <salyzyn@android.com>

Applied. Thanks.

-- 
Catalin

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

* [PATCH] arm64: compat: Remove leftover variable declaration
@ 2017-08-10 17:17   ` Catalin Marinas
  0 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2017-08-10 17:17 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Aug 04, 2017 at 10:17:00AM -0700, Mark Salyzyn wrote:
> From: Kevin Brodsky <kevin.brodsky@arm.com>
> 
> Commit a1d5ebaf8ccd ("arm64: big-endian: don't treat code as data when
> copying sigret code") moved the 32-bit sigreturn trampoline code from
> the aarch32_sigret_code array to kuser32.S. The commit removed the
> array definition from signal32.c, but not its declaration in
> signal32.h. Remove the leftover declaration.
> 
> Signed-off-by: Kevin Brodsky <kevin.brodsky@arm.com>
> Signed-off-by: Mark Salyzyn <salyzyn@android.com>

Applied. Thanks.

-- 
Catalin

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

end of thread, other threads:[~2017-08-10 17:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-04 17:17 [PATCH] arm64: compat: Remove leftover variable declaration Mark Salyzyn
2017-08-04 17:17 ` Mark Salyzyn
2017-08-10 17:17 ` Catalin Marinas
2017-08-10 17:17   ` Catalin Marinas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.