]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Allow PCI config space syscalls to be used by 64-bit processes.
authorPaul Mackerras <paulus@samba.org>
Fri, 9 Sep 2005 13:02:36 +0000 (23:02 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 9 Sep 2005 13:02:36 +0000 (23:02 +1000)
commitb2ad7b5e8115582cdf5bbda065aa516c24d62c21
treee488a3600f1081ef87bcca67103ea4f45708017c
parent766375362a1dcac63dc0c0fb61ce4143c8de63d9
Allow PCI config space syscalls to be used by 64-bit processes.

The pciconfig_iobase, pciconfig_read and pciconfig_write system calls
were only implemented for 32-bit processes; for 64-bit processes they
returned an ENOSYS error.  This allows them to be used by 64-bit
processes as well.  The X server uses pciconfig_iobase at least, and
this change is necessary to allow a 64-bit X server to work on my G5.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc64/kernel/misc.S
arch/ppc64/kernel/pci.c
arch/ppc64/kernel/sys_ppc32.c