[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1404530457-4739-1-git-send-email-xerofoify@gmail.com>
Date: Fri, 4 Jul 2014 23:20:57 -0400
From: Nicholas Krause <xerofoify@...il.com>
To: jejb@...isc-linux.org
Cc: deller@....de, tiwai@...e.de, jkosina@...e.cz,
dave.anglin@...l.net, joe@...ches.com,
linux-parisc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] parisc: Remove sizeof(frame) from call to get_sigframe
This removes the sizeof(frame) from the call to get_sigframe on line
243 in order to fix the call to this function as the sizeof in not
needed to call this function.
Signed-off-by: Nicholas Krause <xerofoify@...il.com>
---
arch/parisc/kernel/signal.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c
index 1cba8f2..3b7caac 100644
--- a/arch/parisc/kernel/signal.c
+++ b/arch/parisc/kernel/signal.c
@@ -240,8 +240,7 @@ setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
#endif
usp = (regs->gr[30] & ~(0x01UL));
- /*FIXME: frame_size parameter is unused, remove it. */
- frame = get_sigframe(ka, usp, sizeof(*frame));
+ frame = get_sigframe(ka, usp)
DBG(1,"SETUP_RT_FRAME: START\n");
DBG(1,"setup_rt_frame: frame %p info %p\n", frame, info);
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists