Commit c9e4a866 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] ppc64 syscalls return long purity

parent 21914d96
......@@ -2781,10 +2781,10 @@ asmlinkage long sys32_time(compat_time_t* tloc)
return secs;
}
extern asmlinkage int sys_sched_setaffinity(pid_t pid, unsigned int len,
extern asmlinkage long sys_sched_setaffinity(pid_t pid, unsigned int len,
unsigned long *user_mask_ptr);
asmlinkage int sys32_sched_setaffinity(compat_pid_t pid, unsigned int len,
asmlinkage long sys32_sched_setaffinity(compat_pid_t pid, unsigned int len,
u32 *user_mask_ptr)
{
unsigned long kernel_mask;
......@@ -2805,10 +2805,10 @@ asmlinkage int sys32_sched_setaffinity(compat_pid_t pid, unsigned int len,
return ret;
}
extern asmlinkage int sys_sched_getaffinity(pid_t pid, unsigned int len,
extern asmlinkage long sys_sched_getaffinity(pid_t pid, unsigned int len,
unsigned long *user_mask_ptr);
asmlinkage int sys32_sched_getaffinity(compat_pid_t pid, unsigned int len,
asmlinkage long sys32_sched_getaffinity(compat_pid_t pid, unsigned int len,
u32 *user_mask_ptr)
{
unsigned long kernel_mask;
......@@ -2914,7 +2914,7 @@ asmlinkage int sys32_ftruncate64(unsigned int fd, u32 reg4, unsigned long high,
return sys_ftruncate(fd, (high << 32) | low);
}
extern int sys_lookup_dcookie(u64 cookie64, char *buf, size_t len);
extern long sys_lookup_dcookie(u64 cookie64, char *buf, size_t len);
long ppc32_lookup_dcookie(u32 cookie_high, u32 cookie_low, char *buf,
size_t len)
......
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