aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/signal.c
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@bell.net>2013-02-02 18:43:06 -0500
committerHelge Deller <deller@gmx.de>2013-02-20 16:51:21 -0500
commit45b6eff2a60c8bec1254412dfdb36acb0afe04a2 (patch)
tree3125f74c03298d21a09f1d3b543d0b87ea9bba5f /arch/parisc/kernel/signal.c
parent52ab532ea76d30b7e7a7b98021e2e873e83029a5 (diff)
parisc: space register variables need to be in native length (unsigned long)
Signed-off-by: John David Anglin <dave.anglin@bell.net> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/signal.c')
-rw-r--r--arch/parisc/kernel/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/signal.c b/arch/parisc/kernel/signal.c
index fd051705a407..52c85b2f502e 100644
--- a/arch/parisc/kernel/signal.c
+++ b/arch/parisc/kernel/signal.c
@@ -312,7 +312,7 @@ setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
312#if DEBUG_SIG 312#if DEBUG_SIG
313 /* Assert that we're flushing in the correct space... */ 313 /* Assert that we're flushing in the correct space... */
314 { 314 {
315 int sid; 315 unsigned long sid;
316 asm ("mfsp %%sr3,%0" : "=r" (sid)); 316 asm ("mfsp %%sr3,%0" : "=r" (sid));
317 DBG(1,"setup_rt_frame: Flushing 64 bytes at space %#x offset %p\n", 317 DBG(1,"setup_rt_frame: Flushing 64 bytes at space %#x offset %p\n",
318 sid, frame->tramp); 318 sid, frame->tramp);