diff --exclude-from=/home/dang/.diffrc -u -ruN linux-2.6.16.orig/arch/um/os-Linux/sys-i386/registers.c linux-2.6.16/arch/um/os-Linux/sys-i386/registers.c --- linux-2.6.16.orig/arch/um/os-Linux/sys-i386/registers.c 2006-03-20 00:53:29.000000000 -0500 +++ linux-2.6.16/arch/um/os-Linux/sys-i386/registers.c 2006-05-07 18:11:04.000000000 -0400 @@ -130,6 +130,12 @@ HOST_FP_SIZE * sizeof(unsigned long)); } +#ifndef JB_PC +#define JB_PC 5 +#define JB_SP 4 +#define JB_BP 3 +#endif + void get_thread_regs(union uml_pt_regs *uml_regs, void *buffer) { struct __jmp_buf_tag *jmpbuf = buffer; diff --exclude-from=/home/dang/.diffrc -u -ruN linux-2.6.16.orig/arch/um/os-Linux/sys-x86_64/registers.c linux-2.6.16/arch/um/os-Linux/sys-x86_64/registers.c --- linux-2.6.16.orig/arch/um/os-Linux/sys-x86_64/registers.c 2006-03-20 00:53:29.000000000 -0500 +++ linux-2.6.16/arch/um/os-Linux/sys-x86_64/registers.c 2006-05-07 18:11:44.000000000 -0400 @@ -78,6 +78,12 @@ HOST_FP_SIZE * sizeof(unsigned long)); } +#ifndef JB_PC +#define JB_PC 7 +#define JB_RSP 6 +#define JB_RBP 1 +#endif + void get_thread_regs(union uml_pt_regs *uml_regs, void *buffer) { struct __jmp_buf_tag *jmpbuf = buffer;