[systemd-devel] [PATCH] Fix syscall(__NR_fanotify_mark, ...) on arm
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Wed May 15 18:07:41 PDT 2013
On Tue, May 14, 2013 at 09:03:04AM +0800, Chengwei Yang wrote:
> ---
> src/shared/missing.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/shared/missing.h b/src/shared/missing.h
> index d4ba0d3..96e6d63 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];
Applied.
Zbyszek
More information about the systemd-devel
mailing list