diff options
| author | Andrew Morton <akpm@digeo.com> | 2003-03-22 07:35:35 -0800 |
|---|---|---|
| committer | David S. Miller <davem@kernel.bkbits.net> | 2003-03-22 07:35:35 -0800 |
| commit | cf59843bed891f87726abac576adcf2775b235af (patch) | |
| tree | 89be5cf8dae06177165f5a7b2c7048454d85ecb5 /include/linux | |
| parent | 3ae81f1228928f388d358674915b9ff8201785a6 (diff) | |
[PATCH] Make arch-independent syscalls return long
From: "Randy.Dunlap" <randy.dunlap@verizon.net>
Fix up various syscalls to return longs, as x86_64 and ia64 (at least)
require.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h index 637c7569c68e..f6482a63c250 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h @@ -421,7 +421,7 @@ extern int install_page(struct mm_struct *mm, struct vm_area_struct *vma, unsign extern int handle_mm_fault(struct mm_struct *mm,struct vm_area_struct *vma, unsigned long address, int write_access); extern int make_pages_present(unsigned long addr, unsigned long end); extern int access_process_vm(struct task_struct *tsk, unsigned long addr, void *buf, int len, int write); -extern int sys_remap_file_pages(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long nonblock); +extern long sys_remap_file_pages(unsigned long start, unsigned long size, unsigned long prot, unsigned long pgoff, unsigned long nonblock); int get_user_pages(struct task_struct *tsk, struct mm_struct *mm, unsigned long start, |
