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: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
f22529351f
commit
ee4311adf1
|
@ -88,7 +88,7 @@ ftrace_modify_code(unsigned long ip, unsigned char *old_code,
|
|||
".previous\n"
|
||||
_ASM_EXTABLE(1b, 3b)
|
||||
: "=r"(faulted), "=a"(replaced)
|
||||
: "r"(ip), "r"(new), "r"(newch),
|
||||
: "r"(ip), "r"(new), "c"(newch),
|
||||
"0"(faulted), "a"(old)
|
||||
: "memory");
|
||||
sync_core();
|
||||
|
|
Loading…
Reference in New Issue