summaryrefslogtreecommitdiff
path: root/src/shared/missing.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-05-08 19:18:26 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-14 22:57:07 +0200
commit990478a0ef17c59a29a644c3b2efaca2db66021e (patch)
tree9e08e975fbbd123db3c1f5400b4a7611886f97d9 /src/shared/missing.h
parentee1f44bd9a63e776810a31bd8394e8d481b6c34d (diff)
missing: Fix broken syscall(__NR_fanotify_mark... on ppc32
The same situation as on o32 mips.
Diffstat (limited to 'src/shared/missing.h')
-rw-r--r--src/shared/missing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index 5951e06cfc..ecedf72ab7 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];