From: Masami Hiramatsu Date: Tue, 18 Dec 2007 17:05:58 +0000 (+0100) Subject: x86: jprobe bugfix X-Git-Tag: v2.6.24-rc6~17^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29b6cd794e73eea7600541d06288a09861ffecb0;p=pandora-kernel.git x86: jprobe bugfix jprobe for x86-64 may cause kernel page fault when the jprobe_return() is called from incorrect function. - Use jprobe_saved_regs instead getting it from stack. (Especially on x86-64, it may get incorrect data, because pt_regs can not be get by using container_of(rsp)) - Change the type of stack pointer to unsigned long *. Signed-off-by: Masami Hiramatsu Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed