Commit 975878a9 by dlezcano

Add x86_64 syscall

parent 22ebac19
......@@ -45,6 +45,12 @@ static inline long sys_checkpoint(pid_t pid, int fd, unsigned long flags)
{
return syscall(__NR_checkpoint, pid, fd, flags);
}
#elif __x86_64__
# define __NR_checkpoint 295
static inline long sys_checkpoint(pid_t pid, int fd, unsigned long flags)
{
return syscall(__NR_checkpoint, pid, fd, flags);
}
#else
# warning "Architecture not supported for checkpoint"
static inline long sys_checkpoint(pid_t pid, int fd, unsigned long flags)
......
......@@ -49,6 +49,12 @@ static inline long sys_restart(pid_t pid, int fd, unsigned long flags)
{
return syscall(__NR_restart, pid, fd, flags);
}
#elif __x86_64__
# define __NR_restart 296
static inline long sys_restart(pid_t pid, int fd, unsigned long flags)
{
return syscall(__NR_restart, pid, fd, flags);
}
#else
static inline long sys_restart(pid_t pid, int fd, unsigned long flags)
{
......
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