summaryrefslogtreecommitdiff
path: root/arch/tile/include/asm/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/include/asm/unistd.h')
-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 b35c2db7119..f70bf1c541f 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