Commit ee4311ad authored by Ingo Molnar's avatar Ingo Molnar

ftrace: build fix with gcc 4.3

fix:

arch/x86/kernel/ftrace.c: Assembler messages:
arch/x86/kernel/ftrace.c:82: Error: bad register name `%sil'
make[1]: *** [arch/x86/kernel/ftrace.o] Error 1
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent f2252935
...@@ -88,7 +88,7 @@ ftrace_modify_code(unsigned long ip, unsigned char *old_code, ...@@ -88,7 +88,7 @@ ftrace_modify_code(unsigned long ip, unsigned char *old_code,
".previous\n" ".previous\n"
_ASM_EXTABLE(1b, 3b) _ASM_EXTABLE(1b, 3b)
: "=r"(faulted), "=a"(replaced) : "=r"(faulted), "=a"(replaced)
: "r"(ip), "r"(new), "r"(newch), : "r"(ip), "r"(new), "c"(newch),
"0"(faulted), "a"(old) "0"(faulted), "a"(old)
: "memory"); : "memory");
sync_core(); sync_core();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment