mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 PATCH] PPC32: compile error in signal.c
@ 2004-04-28  7:29 Meelis Roos
  2004-04-28 14:58 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Meelis Roos @ 2004-04-28  7:29 UTC (permalink / raw)
  To: Linux Kernel list

  CC      arch/ppc/kernel/signal.o
arch/ppc/kernel/signal.c: In function `handle_signal':
arch/ppc/kernel/signal.c:518: error: `newspp' undeclared (first use in this function)
arch/ppc/kernel/signal.c:518: error: (Each undeclared identifier is reported only once
arch/ppc/kernel/signal.c:518: error: for each function it appears in.)
arch/ppc/kernel/signal.c:518: warning: long unsigned int format, pointer arg (arg 3)

The following patch seems to fix it:

===== arch/ppc/kernel/signal.c 1.31 vs edited =====
--- 1.31/arch/ppc/kernel/signal.c	Thu Apr  8 01:55:06 2004
+++ edited/arch/ppc/kernel/signal.c	Wed Apr 28 10:27:20 2004
@@ -514,8 +514,8 @@

 badframe:
 #ifdef DEBUG_SIG
-	printk("badframe in handle_signal, regs=%p frame=%lx newsp=%lx\n",
-	       regs, frame, *newspp);
+	printk("badframe in handle_signal, regs=%p frame=%p newsp=%lx\n",
+	       regs, frame, newsp);
 #endif
 	if (sig == SIGSEGV)
 		ka->sa.sa_handler = SIG_DFL;


-- 
Meelis Roos (mroos@linux.ee)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-04-28 14:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-28  7:29 [2.6 PATCH] PPC32: compile error in signal.c Meelis Roos
2004-04-28 14:58 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®