diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-06-17 11:43:02 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-17 11:43:53 -0400 |
commit | ee4311adf105f4d740f52e3948acc1d81598afcc (patch) | |
tree | c565513e904a32d6f227405a535afbc6a03fd866 /arch/x86/kernel/ftrace.c | |
parent | f22529351f7060d61eff3b76d7c9706f90aaedf3 (diff) |
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>
Diffstat (limited to 'arch/x86/kernel/ftrace.c')
-rw-r--r-- | arch/x86/kernel/ftrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/ftrace.c b/arch/x86/kernel/ftrace.c index bc5cf8d46742..55828149e01e 100644 --- a/arch/x86/kernel/ftrace.c +++ b/arch/x86/kernel/ftrace.c | |||
@@ -88,7 +88,7 @@ ftrace_modify_code(unsigned long ip, unsigned char *old_code, | |||
88 | ".previous\n" | 88 | ".previous\n" |
89 | _ASM_EXTABLE(1b, 3b) | 89 | _ASM_EXTABLE(1b, 3b) |
90 | : "=r"(faulted), "=a"(replaced) | 90 | : "=r"(faulted), "=a"(replaced) |
91 | : "r"(ip), "r"(new), "r"(newch), | 91 | : "r"(ip), "r"(new), "c"(newch), |
92 | "0"(faulted), "a"(old) | 92 | "0"(faulted), "a"(old) |
93 | : "memory"); | 93 | : "memory"); |
94 | sync_core(); | 94 | sync_core(); |