diff options
author | Chengwei Yang <chengwei.yang@intel.com> | 2013-05-14 09:03:04 +0800 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-05-15 21:02:46 -0400 |
commit | 28f30cf274398ab80c71ea0c2afec4b94f8ba76e (patch) | |
tree | 6c6329001c193b5b8c2af650308bc6c07ae5fbd4 /src | |
parent | ca2670162464b98f44d3f30a1d8b47b02609784c (diff) |
Fix syscall(__NR_fanotify_mark, ...) on arm
Diffstat (limited to 'src')
-rw-r--r-- | src/shared/missing.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h index d4ba0d3dcf..96e6d63101 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -138,7 +138,8 @@ static inline int fanotify_init(unsigned int flags, unsigned int event_f_flags) #ifndef HAVE_FANOTIFY_MARK static inline int fanotify_mark(int fanotify_fd, unsigned int flags, uint64_t mask, int dfd, const char *pathname) { -#if defined _MIPS_SIM && _MIPS_SIM == _MIPS_SIM_ABI32 || defined __powerpc__ && !defined __powerpc64__ +#if defined _MIPS_SIM && _MIPS_SIM == _MIPS_SIM_ABI32 || defined __powerpc__ && !defined __powerpc64__ \ + || defined __arm__ && !defined __aarch64__ union { uint64_t _64; uint32_t _32[2]; |