As stated in the X86_64 ABI: Use the syscall instruction instead of int $0x80. The Kernel uses different registers in 64 Bit as syscall arguments, and the number assigned for a syscall function varies between i386 and x86_64, too.
An example - in german, sorry - can be found here:
http://zygentoma.de/codez/linux_assembler.php