diff options
author | Florian Weimer <fweimer@redhat.com> | 2020-03-03 12:20:59 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2020-03-03 12:20:59 +0100 |
commit | 75376039be338702ed8904800fdcd3f1bc103ca7 (patch) | |
tree | afc435da884c80222bcfdc96e4d18ea0a2aaee73 /sysdeps | |
parent | 4fe5d3867ae1aa351b8adb76858a9c05819cf3d9 (diff) | |
download | glibc-75376039be338702ed8904800fdcd3f1bc103ca7.tar.gz glibc-75376039be338702ed8904800fdcd3f1bc103ca7.tar.xz glibc-75376039be338702ed8904800fdcd3f1bc103ca7.zip |
Linux: pciconfig_iobase syscall number is always available on alpha
Due to the built-in tables, __NR_pciconfig_iobase is always defined. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/ioperm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/ioperm.c b/sysdeps/unix/sysv/linux/alpha/ioperm.c index cf775674b4..aa8ea3c8b1 100644 --- a/sysdeps/unix/sysv/linux/alpha/ioperm.c +++ b/sysdeps/unix/sysv/linux/alpha/ioperm.c @@ -537,7 +537,6 @@ init_iosys (void) /* First try the pciconfig_iobase syscall added to 2.2.15 and 2.3.99. */ -#ifdef __NR_pciconfig_iobase addr = __pciconfig_iobase (IOBASE_DENSE_MEM, 0, 0); if (addr != -1) { @@ -579,7 +578,6 @@ init_iosys (void) return 0; } -#endif /* Second, collect the contents of /etc/alpha_systype or /proc/cpuinfo. */ |