chiark / gitweb /
missing: Fix broken syscall(__NR_fanotify_mark... on ppc32
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 8 May 2012 17:18:26 +0000 (19:18 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 14 May 2012 20:57:07 +0000 (22:57 +0200)
The same situation as on o32 mips.

src/shared/missing.h

index 5951e06cfc7566eaab42ea85b20f144ac0e5d574..ecedf72ab790a9e6a2b438fde3028bd77324f123 100644 (file)
@@ -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];