From: Andreas Schwab Date: Tue, 8 May 2012 17:18:26 +0000 (+0200) Subject: missing: Fix broken syscall(__NR_fanotify_mark... on ppc32 X-Git-Tag: v183~111 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=990478a0ef17c59a29a644c3b2efaca2db66021e;p=systemd missing: Fix broken syscall(__NR_fanotify_mark... on ppc32 The same situation as on o32 mips. --- diff --git a/src/shared/missing.h b/src/shared/missing.h index 5951e06c..ecedf72a 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -133,7 +133,7 @@ static inline int fanotify_init(unsigned int flags, unsigned int event_f_flags) 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 +#if defined _MIPS_SIM && _MIPS_SIM == _MIPS_SIM_ABI32 || defined __powerpc__ && !defined __powerpc64__ union { uint64_t _64; uint32_t _32[2];