aboutsummaryrefslogtreecommitdiff
path: root/arch/tile/kernel/compat.c
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2011-05-17 15:52:22 -0400
committerChris Metcalf <cmetcalf@tilera.com>2011-05-19 22:56:13 -0400
commit818d8462bb7c717706bcfe994258e2c3710d1fd0 (patch)
treed597fe6369a03fdf0b8fc0c940579cbe1efab35e /arch/tile/kernel/compat.c
parentf4de51de2edcd26ec77bfc71b1f00b1de5a5dc20 (diff)
downloadlinux-stericsson-818d8462bb7c717706bcfe994258e2c3710d1fd0.tar.gz
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/compat.c')
-rw-r--r--arch/tile/kernel/compat.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/tile/kernel/compat.c b/arch/tile/kernel/compat.c
index e35a3975ca3b..bf5e9d70266c 100644
--- a/arch/tile/kernel/compat.c
+++ b/arch/tile/kernel/compat.c
@@ -142,19 +142,8 @@ long tile_compat_sys_msgrcv(int msqid,
#define compat_sys_msgsnd tile_compat_sys_msgsnd
/* See comments in sys.c */
-#define compat_sys_fadvise64 sys32_fadvise64
#define compat_sys_fadvise64_64 sys32_fadvise64_64
#define compat_sys_readahead sys32_readahead
-#define compat_sys_sync_file_range compat_sys_sync_file_range2
-
-/* We leverage the "struct stat64" type for 32-bit time_t/nsec. */
-#define compat_sys_stat64 sys_stat64
-#define compat_sys_lstat64 sys_lstat64
-#define compat_sys_fstat64 sys_fstat64
-#define compat_sys_fstatat64 sys_fstatat64
-
-/* The native sys_ptrace dynamically handles compat binaries. */
-#define compat_sys_ptrace sys_ptrace
/* Call the trampolines to manage pt_regs where necessary. */
#define compat_sys_execve _compat_sys_execve