diff options
author | Paul Mackerras <paulus@samba.org> | 2005-09-09 09:02:36 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-09-09 09:02:36 -0400 |
commit | b2ad7b5e8115582cdf5bbda065aa516c24d62c21 (patch) | |
tree | e488a3600f1081ef87bcca67103ea4f45708017c /arch/ppc64/kernel/misc.S | |
parent | 766375362a1dcac63dc0c0fb61ce4143c8de63d9 (diff) |
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>
Diffstat (limited to 'arch/ppc64/kernel/misc.S')
-rw-r--r-- | arch/ppc64/kernel/misc.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/ppc64/kernel/misc.S b/arch/ppc64/kernel/misc.S index 6d860c1d9fa..c047663eb48 100644 --- a/arch/ppc64/kernel/misc.S +++ b/arch/ppc64/kernel/misc.S | |||
@@ -1431,9 +1431,9 @@ _GLOBAL(sys_call_table) | |||
1431 | .llong .sys_ni_syscall /* 195 - 32bit only stat64 */ | 1431 | .llong .sys_ni_syscall /* 195 - 32bit only stat64 */ |
1432 | .llong .sys_ni_syscall /* 32bit only lstat64 */ | 1432 | .llong .sys_ni_syscall /* 32bit only lstat64 */ |
1433 | .llong .sys_ni_syscall /* 32bit only fstat64 */ | 1433 | .llong .sys_ni_syscall /* 32bit only fstat64 */ |
1434 | .llong .sys_ni_syscall /* 32bit only pciconfig_read */ | 1434 | .llong .sys_pciconfig_read |
1435 | .llong .sys_ni_syscall /* 32bit only pciconfig_write */ | 1435 | .llong .sys_pciconfig_write |
1436 | .llong .sys_ni_syscall /* 32bit only pciconfig_iobase */ | 1436 | .llong .sys_pciconfig_iobase /* 200 - pciconfig_iobase */ |
1437 | .llong .sys_ni_syscall /* reserved for MacOnLinux */ | 1437 | .llong .sys_ni_syscall /* reserved for MacOnLinux */ |
1438 | .llong .sys_getdents64 | 1438 | .llong .sys_getdents64 |
1439 | .llong .sys_pivot_root | 1439 | .llong .sys_pivot_root |