[PATCH] show_trace_task() sparc32

From: Alex Buell (alex.buell@tahallah.demon.co.uk)
Date: Mon Nov 26 2001 - 18:13:45 EST


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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:24 EST