|
@@ -40,6 +40,7 @@
|
|
|
#include <asm/spu.h>
|
|
|
#include <asm/spu_priv1.h>
|
|
|
#include <asm/firmware.h>
|
|
|
+#include <asm/setjmp.h>
|
|
|
|
|
|
#ifdef CONFIG_PPC64
|
|
|
#include <asm/hvcall.h>
|
|
@@ -71,12 +72,9 @@ static unsigned long ncsum = 4096;
|
|
|
static int termch;
|
|
|
static char tmpstr[128];
|
|
|
|
|
|
-#define JMP_BUF_LEN 23
|
|
|
static long bus_error_jmp[JMP_BUF_LEN];
|
|
|
static int catch_memory_errors;
|
|
|
static long *xmon_fault_jmp[NR_CPUS];
|
|
|
-#define setjmp xmon_setjmp
|
|
|
-#define longjmp xmon_longjmp
|
|
|
|
|
|
/* Breakpoint stuff */
|
|
|
struct bpt {
|
|
@@ -162,8 +160,6 @@ int xmon_no_auto_backtrace;
|
|
|
extern void xmon_enter(void);
|
|
|
extern void xmon_leave(void);
|
|
|
|
|
|
-extern long setjmp(long *);
|
|
|
-extern void longjmp(long *, long);
|
|
|
extern void xmon_save_regs(struct pt_regs *);
|
|
|
|
|
|
#ifdef CONFIG_PPC64
|