projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30afdcb
)
ftrace: fix the fault label in updating code
author
Steven Rostedt
<rostedt@goodmis.org>
Mon, 12 May 2008 19:20:56 +0000
(21:20 +0200)
committer
Thomas Gleixner
<tglx@linutronix.de>
Fri, 23 May 2008 19:16:12 +0000
(21:16 +0200)
The fault label to jump to on fault of updating the code was misplaced
preventing the fault from being recorded.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/ftrace.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/ftrace.c
b/arch/x86/kernel/ftrace.c
index 9f44623e0072fbaa66af77b5f5c184477b6148ee..498608c015fbe53bc6b4b6756f561b9ca94c0552 100644
(file)
--- a/
arch/x86/kernel/ftrace.c
+++ b/
arch/x86/kernel/ftrace.c
@@
-93,8
+93,8
@@
ftrace_modify_code(unsigned long ip, unsigned char *old_code,
" movb %b4, 4(%2)\n"
"2:\n"
".section .fixup, \"ax\"\n"
- "
movl $1, %0\n"
- "
3:
jmp 2b\n"
+ "
3:
movl $1, %0\n"
+ "
jmp 2b\n"
".previous\n"
_ASM_EXTABLE(1b, 3b)
: "=r"(faulted), "=a"(replaced)