Skip to contentSkip to conversation

parisc: space register variables need to be in native length (unsigned long)

PATCH New Helge Deller 1 participant 1 message Feb 2, 2013 PA-RISC architecture

lore
Share & tools
lore

Helge Deller

author maintainer
#0 lore raw

PATCH 1/1 parisc: space register variables need to be in native length (unsigned long)

arch/parisc/kernel/signal.c +1 -1
index fd05170..52c85b2 100644
@@ -312,7 +312,7 @@ setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
 #if DEBUG_SIG
 	/* Assert that we're flushing in the correct space... */
 	{
-		int sid;
+		unsigned long sid;
 		asm ("mfsp %%sr3,%0" : "=r" (sid));
 		DBG(1,"setup_rt_frame: Flushing 64 bytes at space %#x offset %p\n",
 		       sid, frame->tramp);