All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] show_trace_task() sparc32
@ 2001-11-26 23:13 Alex Buell
  2001-11-26 23:46 ` David S. Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Buell @ 2001-11-26 23:13 UTC (permalink / raw)
  To: Mailing List - Linux Kernel

Since show_trace_task() has not been implemented in traps.c in the sparc32
tree, here's a quick and dirty patch to get the kernel to link properly.

--- linux-2.4.16/arch/sparc/kernel/traps.c.orig Mon Nov 26 23:13:32 2001
+++ linux-2.4.16/arch/sparc/kernel/traps.c      Mon Nov 26 23:14:21 2001
@@ -84,6 +84,14 @@
        printk("\n");
 }

+void show_trace_task (struct task_struct *tsk)
+{
+      if (!tsk)
+              return;
+
+       printk("show_trace_task() - not implemented yet.\n");
+}
+
 #define __SAVE __asm__ __volatile__("save %sp, -0x40, %sp\n\t")
 #define __RESTORE __asm__ __volatile__("restore %g0, %g0, %g0\n\t")

I don't know enough about the task stuff to implement this properly. I did
this patch for 2.4.15-pre9 but just noticed that 2.4.16 doesn't have it in
place.

-- 
Broken hearted, but not down.

http://www.tahallah.demon.co.uk


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

end of thread, other threads:[~2001-11-27  1:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-26 23:13 [PATCH] show_trace_task() sparc32 Alex Buell
2001-11-26 23:46 ` David S. Miller
2001-11-27  0:47   ` Alex Buell
2001-11-27  1:09     ` David S. Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.