Skip to contentSkip to conversation

arm64: compat: Remove leftover variable declaration

PATCH Applied Mark Salyzyn 2 participants 2 messages Aug 4, 2017 – Aug 10, 2017 arm64

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: compat: Remove leftover variable declaration

From: Kevin Brodsky <[email protected]>

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.

---
 arch/arm64/include/asm/signal32.h | 2 --
 1 file changed, 2 deletions(-)
arch/arm64/include/asm/signal32.h +0 -2
index eeaa97559bab..81abea0b7650 100644
@@ -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,
Signature · 1 line
2.14.0.rc1.383.gd1ce394fe2-goog
maintainer Applied
#1 lore raw
Quoted 10 lines · Mark Salyzyn

From: Kevin Brodsky <[email protected]>

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.

Applied. Thanks.

Signature · 1 line
Catalin