vserver 1.9.3
[linux-2.6.git] / arch / um / kernel / sysrq.c
index ce108f7..80b8470 100644 (file)
@@ -23,7 +23,7 @@ void show_trace(unsigned long * stack)
         i = 1;
         while (((long) stack & (THREAD_SIZE-1)) != 0) {
                 addr = *stack++;
-               if (kernel_text_address(addr)) {
+               if (__kernel_text_address(addr)) {
                        if (i && ((i % 6) == 0))
                                printk("\n   ");
                        printk("[<%08lx>] ", addr);
@@ -44,6 +44,11 @@ void dump_stack(void)
 }
 EXPORT_SYMBOL(dump_stack);
 
+void show_stack(struct task_struct *task, unsigned long *sp)
+{
+       show_trace(sp);
+}
+
 /*
  * Overrides for Emacs so that we follow Linus's tabbing style.
  * Emacs will notice this stuff at the end of the file and automatically