summaryrefslogtreecommitdiff
path: root/include/asm-ppc64
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2002-11-23 14:33:20 +1100
committerAnton Blanchard <anton@samba.org>2002-11-23 14:33:20 +1100
commit31fa8532ec0f32402fe3ebf97d87dc714cb96185 (patch)
tree057dcec02563b1ba977f12688f344508855e904f /include/asm-ppc64
parentb4bf25f2464b48a908c9a230d73877b6b12d96d7 (diff)
ppc64: clean up show_regs and remove print_backtrace
Diffstat (limited to 'include/asm-ppc64')
-rw-r--r--include/asm-ppc64/hardirq.h9
-rw-r--r--include/asm-ppc64/system.h1
2 files changed, 1 insertions, 9 deletions
diff --git a/include/asm-ppc64/hardirq.h b/include/asm-ppc64/hardirq.h
index 7fe87eabbc7f..b703d5982753 100644
--- a/include/asm-ppc64/hardirq.h
+++ b/include/asm-ppc64/hardirq.h
@@ -10,6 +10,7 @@
*/
#include <linux/config.h>
+#include <linux/cache.h>
#include <linux/preempt.h>
typedef struct {
@@ -104,12 +105,4 @@ do { \
#endif /* __KERNEL__ */
-#define show_stack(SP) \
-do { \
- if (SP) \
- print_backtrace(SP); \
- else \
- print_backtrace(_get_SP()); \
-} while (0)
-
#endif /* __ASM_HARDIRQ_H */
diff --git a/include/asm-ppc64/system.h b/include/asm-ppc64/system.h
index 24d7e057ae8f..68f31b97c314 100644
--- a/include/asm-ppc64/system.h
+++ b/include/asm-ppc64/system.h
@@ -79,7 +79,6 @@ extern int xmon_dabr_match(struct pt_regs *regs);
extern void (*xmon_fault_handler)(struct pt_regs *regs);
#endif
-extern void print_backtrace(unsigned long *);
extern void show_regs(struct pt_regs * regs);
extern void flush_instruction_cache(void);
extern int _get_PVR(void);