Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
95c39f47
Commit
95c39f47
authored
May 26, 2003
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Syscall cleanups.
parent
b9fdbdca
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
37 deletions
+8
-37
arch/ppc/kernel/misc.S
arch/ppc/kernel/misc.S
+4
-4
arch/ppc/kernel/syscalls.c
arch/ppc/kernel/syscalls.c
+4
-33
No files found.
arch/ppc/kernel/misc.S
View file @
95c39f47
...
...
@@ -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
...
...
arch/ppc/kernel/syscalls.c
View file @
95c39f47
...
...
@@ -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
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment