diff mbox

[2/2] SH: Fix compilation errors in SH64 signal handling code

Message ID 20140818110105.18167.37116.stgit@warthog.procyon.org.uk (mailing list archive)
State Awaiting Upstream
Headers show

Commit Message

David Howells Aug. 18, 2014, 11:01 a.m. UTC
Fix a couple of compilation errors in SH64 signal handling code.

Signed-off-by: David Howells <dhowells@redhat.com>
---
 arch/sh/kernel/signal_64.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/sh/kernel/signal_64.c b/arch/sh/kernel/signal_64.c
index 897abe7b871e..28448381deb9 100644
--- a/arch/sh/kernel/signal_64.c
+++ b/arch/sh/kernel/signal_64.c
@@ -412,7 +412,7 @@  static int setup_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs
 		 * On SH5 all edited pointers are subject to NEFF
 		 */
 		DEREF_REG_PR = neff_sign_extend((unsigned long)
-			ksig->ka->sa.sa_restorer | 0x1);
+			ksig->ka.sa.sa_restorer | 0x1);
 	} else {
 		/*
 		 * Different approach on SH5.
@@ -468,7 +468,7 @@  static int setup_frame(struct ksignal *ksig, sigset_t *set, struct pt_regs *regs
 	return 0;
 }
 
-static int setup_rt_frame(struct ksignal *kig, sigset_t *set,
+static int setup_rt_frame(struct ksignal *ksig, sigset_t *set,
 			  struct pt_regs *regs)
 {
 	struct rt_sigframe __user *frame;