Commit 1bdd96af authored by Anton Blanchard's avatar Anton Blanchard

ppc64: fix dump_stack

parent f20bf018
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#include <asm/ppcdebug.h> #include <asm/ppcdebug.h>
#include <asm/machdep.h> #include <asm/machdep.h>
#include <asm/iSeries/HvCallHpt.h> #include <asm/iSeries/HvCallHpt.h>
#include <asm/hardirq.h>
struct task_struct *last_task_used_math = NULL; struct task_struct *last_task_used_math = NULL;
...@@ -485,3 +486,8 @@ void show_trace_task(struct task_struct *p) ...@@ -485,3 +486,8 @@ void show_trace_task(struct task_struct *p)
} while (count++ < 16); } while (count++ < 16);
printk("\n"); printk("\n");
} }
void dump_stack(void)
{
show_stack(NULL);
}
...@@ -112,6 +112,4 @@ do { \ ...@@ -112,6 +112,4 @@ do { \
print_backtrace(_get_SP()); \ print_backtrace(_get_SP()); \
} while (0) } while (0)
#define dump_stack() show_stack()
#endif /* __ASM_HARDIRQ_H */ #endif /* __ASM_HARDIRQ_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment