diff options
author | Helge Deller <deller@gmx.de> | 2023-01-29 22:08:52 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-01-29 21:08:52 +0000 |
commit | ef726bcfb45148dea50872133cc5fe1f40072945 (patch) | |
tree | e461f9966e29ceda3e6c6a30a63d45a8243295ed | |
parent | 8e8434397487f533a6e263b1e3f24d1c4289eb09 (diff) | |
download | strace-ef726bcfb45148dea50872133cc5fe1f40072945.tar.gz |
hppa: Drop special handling of fanotify syscalls on parisc
The fanotify syscall in the parisc kernel has been fixed by Linux kernel
commit v3.16-rc5~6^2~1 and now behaves like the other architectures, so
drop the special workaround for hppa.
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | src/fanotify.c | 4 | ||||
-rw-r--r-- | tests/fanotify_mark.c | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/fanotify.c b/src/fanotify.c index 65cc41cc3..8c66325bd 100644 --- a/src/fanotify.c +++ b/src/fanotify.c @@ -58,10 +58,6 @@ SYS_FUNC(fanotify_mark) */ unsigned long long mask = 0; unsigned int argn = getllval(tcp, &mask, 2); -#ifdef HPPA - /* Parsic is weird. See arch/parisc/kernel/sys_parisc32.c. */ - mask = (mask << 32) | (mask >> 32); -#endif printflags64(fan_event_flags, mask, "FAN_???"); tprint_arg_next(); diff --git a/tests/fanotify_mark.c b/tests/fanotify_mark.c index c22e1f495..c8d58386e 100644 --- a/tests/fanotify_mark.c +++ b/tests/fanotify_mark.c @@ -51,12 +51,7 @@ do_call(kernel_ulong_t fd, kernel_ulong_t flags, const char *flags_str, || defined LINUX_MIPSN32 mask, # else -/* arch/parisc/kernel/sys_parisc32.c, commit ab8a261b */ -# ifdef HPPA - LL_VAL_TO_PAIR((mask << 32) | (mask >> 32)), -# else LL_VAL_TO_PAIR(mask), -# endif # endif dirfd, path); |