]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(init_iosys): Allow compilation if __NR_pciconfig_iobase is not defined.
authorUlrich Drepper <drepper@redhat.com>
Sat, 22 Apr 2000 06:55:19 +0000 (06:55 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 22 Apr 2000 06:55:19 +0000 (06:55 +0000)
sysdeps/unix/sysv/linux/alpha/ioperm.c

index 310930bc2174c9217193331499ba4226722c058d..98f71630539a06d045d883621fc05d6a63e31cb0 100644 (file)
@@ -537,6 +537,7 @@ 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)
     {
@@ -578,6 +579,7 @@ init_iosys (void)
 
       return 0;
     }
+#endif
 
   /* Second, collect the contents of /etc/alpha_systype or /proc/cpuinfo.  */