Goes splat with frame pointers enabled for some reason. Signed-off-by: Andrew Morton --- 25-akpm/arch/x86_64/kernel/time.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN arch/x86_64/kernel/time.c~x86_64-profiling-oops-workaround arch/x86_64/kernel/time.c --- 25/arch/x86_64/kernel/time.c~x86_64-profiling-oops-workaround 2004-09-15 02:02:24.867562544 -0700 +++ 25-akpm/arch/x86_64/kernel/time.c 2004-09-15 02:02:24.871561936 -0700 @@ -184,8 +184,8 @@ unsigned long profile_pc(struct pt_regs { unsigned long pc = instruction_pointer(regs); - if (in_lock_functions(pc)) - return *(unsigned long *)regs->rbp; +// if (in_lock_functions(pc)) +// return *(unsigned long *)regs->rbp; return pc; } EXPORT_SYMBOL(profile_pc); _