]> sourceware.org Git - systemtap.git/commit
Exclude some __NR_compat_* defines for newer aarch64 kernels
authorWilliam Cohen <wcohen@redhat.com>
Wed, 24 Jun 2020 17:21:21 +0000 (13:21 -0400)
committerWilliam Cohen <wcohen@redhat.com>
Wed, 24 Jun 2020 17:21:21 +0000 (13:21 -0400)
commit4bb36e7fb7f91da016a5b5fa695e02a3f47c7d18
treec3d8f67ed9d191564648bd2984391a8570c44183
parenta948c291c9cd7320d3c9b18b5037908cbbdf70b7
Exclude some __NR_compat_* defines for newer aarch64 kernels

On aarch64 Linux system calls related SystemTap scripts
compilation fail with "__NR_compat_gettimeofday redefined".
errors due to:

    aarch64 kernel defines __NR_compat_gettimeofday after
     53c489e1dfeb arm64:  arm64: compat: Add missing syscall numbers

Fixed by adding proper conditional compilation based on current
architecture and kernel version.
runtime/linux/compat_unistd.h
This page took 0.026772 seconds and 5 git commands to generate.