~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/tile/kernel/compat.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
135
135
 
136
136
/* Provide the compat syscall number to call mapping. */
137
137
#undef __SYSCALL
138
 
#define __SYSCALL(nr, call) [nr] = (compat_##call),
 
138
#define __SYSCALL(nr, call) [nr] = (call),
139
139
 
140
140
/* The generic versions of these don't work for Tile. */
141
141
#define compat_sys_msgrcv tile_compat_sys_msgrcv
142
142
#define compat_sys_msgsnd tile_compat_sys_msgsnd
143
143
 
144
144
/* See comments in sys.c */
145
 
#define compat_sys_fadvise64 sys32_fadvise64
146
145
#define compat_sys_fadvise64_64 sys32_fadvise64_64
147
146
#define compat_sys_readahead sys32_readahead
148
 
#define compat_sys_sync_file_range compat_sys_sync_file_range2
149
 
 
150
 
/* We leverage the "struct stat64" type for 32-bit time_t/nsec. */
151
 
#define compat_sys_stat64 sys_stat64
152
 
#define compat_sys_lstat64 sys_lstat64
153
 
#define compat_sys_fstat64 sys_fstat64
154
 
#define compat_sys_fstatat64 sys_fstatat64
155
 
 
156
 
/* The native sys_ptrace dynamically handles compat binaries. */
157
 
#define compat_sys_ptrace sys_ptrace
158
147
 
159
148
/* Call the trampolines to manage pt_regs where necessary. */
160
149
#define compat_sys_execve _compat_sys_execve