diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2011-05-17 21:52:22 +0200 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2011-05-20 04:56:13 +0200 |
commit | 818d8462bb7c717706bcfe994258e2c3710d1fd0 (patch) | |
tree | d597fe6369a03fdf0b8fc0c940579cbe1efab35e /arch/tile/kernel/sys.c | |
parent | arch/tile: allocate PCI IRQs later in boot (diff) | |
download | linux-818d8462bb7c717706bcfe994258e2c3710d1fd0.tar.xz linux-818d8462bb7c717706bcfe994258e2c3710d1fd0.zip |
arch/tile: cleanups for tilegx compat mode
These changes make the syscall table line up correctly for
tilegx compat mode, and remove the stale sys32_fadvise64() function,
which isn't actually used by any syscall table.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'arch/tile/kernel/sys.c')
-rw-r--r-- | arch/tile/kernel/sys.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/tile/kernel/sys.c b/arch/tile/kernel/sys.c index e2187d24a9b4..cb44ba7ccd2d 100644 --- a/arch/tile/kernel/sys.c +++ b/arch/tile/kernel/sys.c @@ -56,13 +56,6 @@ ssize_t sys32_readahead(int fd, u32 offset_lo, u32 offset_hi, u32 count) return sys_readahead(fd, ((loff_t)offset_hi << 32) | offset_lo, count); } -long sys32_fadvise64(int fd, u32 offset_lo, u32 offset_hi, - u32 len, int advice) -{ - return sys_fadvise64_64(fd, ((loff_t)offset_hi << 32) | offset_lo, - len, advice); -} - int sys32_fadvise64_64(int fd, u32 offset_lo, u32 offset_hi, u32 len_lo, u32 len_hi, int advice) { @@ -103,10 +96,8 @@ SYSCALL_DEFINE6(mmap, unsigned long, addr, unsigned long, len, #ifndef __tilegx__ /* See comments at the top of the file. */ -#define sys_fadvise64 sys32_fadvise64 #define sys_fadvise64_64 sys32_fadvise64_64 #define sys_readahead sys32_readahead -#define sys_sync_file_range sys_sync_file_range2 #endif /* Call the trampolines to manage pt_regs where necessary. */ |