2.6.9-rc4-mm1
Hello.
arch/i386/kernel/traps.c damaged. CONFIG_KGDB stuff inside print_context_stack().
Oleg.
arch/i386/kernel/traps.c renamed from arch/i386/kernel/traps.c~ +10 -11
@@ -105,17 +105,6 @@ int register_die_notifier(struct notifiereturn err; } -static inline int valid_stack_ptr (struct thread_info *tinfo,void *p) -{ -return p > (void *)tinfo && - p < (void *)tinfo +THREAD_SIZE -3 ; -} - -static inline unsigned long print_context_stack (struct thread_info *tinfo, -unsigned long *stack,unsigned long ebp) -{ -unsigned long addr; -#ifdef CONFIG_KGDB extern void sysenter_past_esp (void );#include <asm/kgdb.h>
@@ -149,6 +138,16 @@ void breakpoint(void)#define CHK_REMOTE_DEBUG (trapnr,signr,error_code,regs,after)#endif +static inline int valid_stack_ptr (struct thread_info *tinfo,void *p) +{ +return p > (void *)tinfo && + p < (void *)tinfo +THREAD_SIZE -3 ; +} + +static inline unsigned long print_context_stack (struct thread_info *tinfo, +unsigned long *stack,unsigned long ebp) +{ +unsigned long addr;#ifdef CONFIG_FRAME_POINTER while (valid_stack_ptr (tinfo, (void *)ebp)) {