diff options
author | Andrew Pinski <apinski@cavium.com> | 2014-09-03 14:19:15 -0700 |
---|---|---|
committer | Andrey Konovalov <andrey.konovalov@linaro.org> | 2015-03-06 22:00:19 +0300 |
commit | f455170847fd8b75517f29bd77252f115d2aa5a9 (patch) | |
tree | 9d3d2827d78c7038aca0e2db6e9aa9fdf324b92a /arch/arm64/include/asm/unistd.h | |
parent | e63037a021d05381a61c702d0608adb85ab641f9 (diff) |
ARM64:ILP32: Use a seperate syscall table as a few syscalls need to be using the compat syscalls
Some syscalls are still need to use the compat versions.
So we need to have a seperate syscall table for ILP32.
This patch adds them including documentation on why we need to use each one.
This list is based on the list from https://lkml.org/lkml/2013/9/11/478.
Signed-off-by: Andrew Pinski <apinski@cavium.com>
Diffstat (limited to 'arch/arm64/include/asm/unistd.h')
-rw-r--r-- | arch/arm64/include/asm/unistd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/unistd.h b/arch/arm64/include/asm/unistd.h index bed97c3e2946..10397e852b54 100644 --- a/arch/arm64/include/asm/unistd.h +++ b/arch/arm64/include/asm/unistd.h @@ -13,6 +13,10 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifdef CONFIG_ARM64_ILP32 +#define __ARCH_WANT_COMPAT_SYS_PREADV64 +#define __ARCH_WANT_COMPAT_SYS_PWRITEV64 +#endif #ifdef CONFIG_AARCH32_EL0 #define __ARCH_WANT_COMPAT_SYS_GETDENTS64 #define __ARCH_WANT_COMPAT_STAT64 |