• R/O
  • HTTP
  • SSH
  • HTTPS

linux-2.4.36: Commit

2.4.36-stable kernel tree


Commit MetaInfo

Revision01de636467fed7c6962c3526101ffef3c6e3d21b (tree)
Time2007-12-10 03:38:53
AuthorWilly Tarreau <w@1wt....>
CommiterWilly Tarreau

Log Message

[PATCH] fix build of ia32entry.S on x86_64

Krzysztof Strasburger reported the following problem.
Commit 7e6ba255062b79f2cf34590ac0987abb335d29f1 broke build
of arch/x86_64/ia32/ia32entry.S with the following message :

ia32entry.S: Assembler messages:
ia32entry.S:76: Error: Incorrect register %rax' used with l' suffix

Solution is simply to replace cmpl with cmpq to fix the register problem.

Signed-off-by: Willy Tarreau <w@1wt.eu>

Change Summary

Incremental Difference

--- a/arch/x86_64/ia32/ia32entry.S
+++ b/arch/x86_64/ia32/ia32entry.S
@@ -73,7 +73,7 @@ ia32_tracesys:
7373 call syscall_trace
7474 LOAD_ARGS ARGOFFSET /* reload args from stack in case ptrace changed it */
7575 RESTORE_REST
76- cmpl $(IA32_NR_syscalls),%rax
76+ cmpq $(IA32_NR_syscalls),%rax
7777 jae 1f
7878 IA32_ARG_FIXUP
7979 call *ia32_sys_call_table(,%rax,8)
Show on old repository browser