summaryrefslogtreecommitdiffstats
path: root/arch/tile/include
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/include
parentf4de51de2edcd26ec77bfc71b1f00b1de5a5dc20 (diff)
downloadblackbird-op-linux-818d8462bb7c717706bcfe994258e2c3710d1fd0.tar.gz
blackbird-op-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/include')
-rw-r--r--arch/tile/include/asm/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/include/asm/unistd.h b/arch/tile/include/asm/unistd.h
index b35c2db71199..f70bf1c541f1 100644
--- a/arch/tile/include/asm/unistd.h
+++ b/arch/tile/include/asm/unistd.h
@@ -15,7 +15,7 @@
#if !defined(_ASM_TILE_UNISTD_H) || defined(__SYSCALL)
#define _ASM_TILE_UNISTD_H
-#ifndef __LP64__
+#if !defined(__LP64__) || defined(__SYSCALL_COMPAT)
/* Use the flavor of this syscall that matches the 32-bit API better. */
#define __ARCH_WANT_SYNC_FILE_RANGE2
#endif
OpenPOWER on IntegriCloud