diff options
author | Matt Turner <mattst88@gmail.com> | 2009-10-13 20:42:14 -0400 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-10-15 13:54:51 +1000 |
commit | 07229cd6da6a9b7acedb994275fed5b512fe48b1 (patch) | |
tree | 4c395649d190be92b5fc739471b7d0280787f82a | |
parent | 13c5e2fe9c7ce82dfdc026a392327b115d8c6a15 (diff) |
[alpha] assume we have __NR_pciconfig_iobase
The code path if we didn't have support has been broken since before we
switched to git.
The pciconfig_iobase syscall has been supported since 2000.
Signed-off-by: Matt Turner <mattst88@gmail.com>
(cherry picked from commit 5e762f0e2f203b5121a3de3b9af3c8981b31a77f)
-rw-r--r-- | hw/xfree86/os-support/linux/lnx_axp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/xfree86/os-support/linux/lnx_axp.c b/hw/xfree86/os-support/linux/lnx_axp.c index 34129ccbb..10b97b0d6 100644 --- a/hw/xfree86/os-support/linux/lnx_axp.c +++ b/hw/xfree86/os-support/linux/lnx_axp.c @@ -138,16 +138,12 @@ long (*_iobase)(unsigned, int, int, int) = _alpha_iobase_query; static long _alpha_iobase(unsigned flags, int hose, int bus, int devfn) { -#ifdef __NR_pciconfig_iobase if (bus < 0) { bus = hose; flags |= IOBASE_FROM_HOSE; } return syscall(__NR_pciconfig_iobase, flags, bus, devfn); -#else - return -ENOSYS -#endif } static long |