summaryrefslogtreecommitdiff
path: root/src/basic/missing_syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/missing_syscall.h')
-rw-r--r--src/basic/missing_syscall.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h
index 38e9e263e..b6083fa31 100644
--- a/src/basic/missing_syscall.h
+++ b/src/basic/missing_syscall.h
@@ -6,19 +6,6 @@
Copyright 2010 Lennart Poettering
Copyright 2016 Zbigniew Jędrzejewski-Szmek
-
- systemd is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as published by
- the Free Software Foundation; either version 2.1 of the License, or
- (at your option) any later version.
-
- systemd is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public License
- along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
/* Missing glibc definitions to access certain kernel APIs */
@@ -418,14 +405,8 @@ static inline int missing_bpf(int cmd, union bpf_attr *attr, size_t size) {
#if !HAVE_STATX
# ifndef __NR_statx
-# if defined __aarch64__ || defined __arm__
-# define __NR_statx 397
-# elif defined __alpha__
-# define __NR_statx 522
-# elif defined __i386__ || defined __powerpc64__
+# if defined __i386__
# define __NR_statx 383
-# elif defined __sparc__
-# define __NR_statx 360
# elif defined __x86_64__
# define __NR_statx 332
# else