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>
This commit is contained in:
Florian Weimer 2020-03-03 12:20:59 +01:00
parent 4fe5d3867a
commit 75376039be
1 changed files with 0 additions and 2 deletions

View File

@ -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. */