Commit 95c39f47 authored by Christoph Hellwig's avatar Christoph Hellwig

PPC32: Syscall cleanups.

parent b9fdbdca
......@@ -1227,7 +1227,7 @@ _GLOBAL(sys_call_table)
.long sys_ni_syscall /* old profil syscall holder */
.long sys_statfs
.long sys_fstatfs /* 100 */
.long sys_ioperm
.long sys_ni_syscall
.long sys_socketcall
.long sys_syslog
.long sys_setitimer
......@@ -1236,10 +1236,10 @@ _GLOBAL(sys_call_table)
.long sys_newlstat
.long sys_newfstat
.long sys_uname
.long sys_iopl /* 110 */
.long sys_ni_syscall /* 110 */
.long sys_vhangup
.long sys_ni_syscall /* old 'idle' syscall */
.long sys_vm86
.long sys_ni_syscall
.long sys_wait4
.long sys_swapoff /* 115 */
.long sys_sysinfo
......@@ -1249,7 +1249,7 @@ _GLOBAL(sys_call_table)
.long ppc_clone /* 120 */
.long sys_setdomainname
.long sys_newuname
.long sys_modify_ldt
.long sys_ni_syscall
.long sys_adjtimex
.long sys_mprotect /* 125 */
.long sys_sigprocmask
......
......@@ -35,6 +35,7 @@
#include <linux/ipc.h>
#include <linux/utsname.h>
#include <linux/file.h>
#include <linux/unistd.h>
#include <asm/uaccess.h>
#include <asm/ipc.h>
......@@ -45,30 +46,6 @@ check_bugs(void)
{
}
int sys_ioperm(unsigned long from, unsigned long num, int on)
{
printk(KERN_ERR "sys_ioperm()\n");
return -EIO;
}
int sys_iopl(int a1, int a2, int a3, int a4)
{
printk(KERN_ERR "sys_iopl(%x, %x, %x, %x)!\n", a1, a2, a3, a4);
return (-ENOSYS);
}
int sys_vm86(int a1, int a2, int a3, int a4)
{
printk(KERN_ERR "sys_vm86(%x, %x, %x, %x)!\n", a1, a2, a3, a4);
return (-ENOSYS);
}
int sys_modify_ldt(int a1, int a2, int a3, int a4)
{
printk(KERN_ERR "sys_modify_ldt(%x, %x, %x, %x)!\n", a1, a2, a3, a4);
return (-ENOSYS);
}
/*
* sys_ipc() is the de-multiplexer for the SysV IPC calls..
*
......@@ -291,12 +268,6 @@ int sys_olduname(struct oldold_utsname * name)
return error;
}
#ifndef CONFIG_PCI
/*
* Those are normally defined in arch/ppc/kernel/pci.c. But when CONFIG_PCI is
* not defined, this file is not linked at all, so here are the "empty" versions
*/
int sys_pciconfig_read(void) { return -ENOSYS; }
int sys_pciconfig_write(void) { return -ENOSYS; }
long sys_pciconfig_iobase(void) { return -ENOSYS; }
#endif
cond_syscall(sys_pciconfig_read);
cond_syscall(sys_pciconfig_write);
cond_syscall(sys_pciconfig_iobase);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment