[PATCH] powerpc: remove compat_sys_pciconfig_*

Matthew Wilcox wondered why we need these functions. We don't.
Remove them and just use the "normal" versions.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>

authored by

Stephen Rothwell and committed by
Paul Mackerras
f8cd3216 13b8a272

+3 -27
-24
arch/powerpc/kernel/sys_ppc32.c
··· 552 552 return ret; 553 553 } 554 554 555 - asmlinkage int compat_sys_pciconfig_read(u32 bus, u32 dfn, u32 off, u32 len, u32 ubuf) 556 - { 557 - return sys_pciconfig_read((unsigned long) bus, 558 - (unsigned long) dfn, 559 - (unsigned long) off, 560 - (unsigned long) len, 561 - compat_ptr(ubuf)); 562 - } 563 - 564 - asmlinkage int compat_sys_pciconfig_write(u32 bus, u32 dfn, u32 off, u32 len, u32 ubuf) 565 - { 566 - return sys_pciconfig_write((unsigned long) bus, 567 - (unsigned long) dfn, 568 - (unsigned long) off, 569 - (unsigned long) len, 570 - compat_ptr(ubuf)); 571 - } 572 - 573 - asmlinkage int compat_sys_pciconfig_iobase(u32 which, u32 in_bus, u32 in_devfn) 574 - { 575 - return sys_pciconfig_iobase(which, in_bus, in_devfn); 576 - } 577 - 578 - 579 555 /* Note: it is necessary to treat mode as an unsigned int, 580 556 * with the corresponding cast to a signed int to insure that the 581 557 * proper conversion (sign extension) between the register representation of a signed int (msr in 32-bit mode)
+3 -3
arch/powerpc/kernel/systbl.S
··· 239 239 SYSX(sys_ni_syscall,sys_stat64,sys_stat64) 240 240 SYSX(sys_ni_syscall,sys_lstat64,sys_lstat64) 241 241 SYSX(sys_ni_syscall,sys_fstat64,sys_fstat64) 242 - COMPAT_SYS(pciconfig_read) 243 - COMPAT_SYS(pciconfig_write) 244 - COMPAT_SYS(pciconfig_iobase) 242 + SYSCALL(pciconfig_read) 243 + SYSCALL(pciconfig_write) 244 + SYSCALL(pciconfig_iobase) 245 245 SYSCALL(ni_syscall) 246 246 SYSCALL(getdents64) 247 247 SYSCALL(pivot_root)