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
0e6ee854
Commit
0e6ee854
authored
Mar 13, 2007
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] kspd: ioctl needs a translation entry.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
aea0e582
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
arch/mips/kernel/kspd.c
arch/mips/kernel/kspd.c
+3
-1
No files found.
arch/mips/kernel/kspd.c
View file @
0e6ee854
...
...
@@ -70,6 +70,7 @@ static int sp_stopping = 0;
#define MTSP_SYSCALL_GETTIME (MTSP_SYSCALL_BASE + 7)
#define MTSP_SYSCALL_PIPEFREQ (MTSP_SYSCALL_BASE + 8)
#define MTSP_SYSCALL_GETTOD (MTSP_SYSCALL_BASE + 9)
#define MTSP_SYSCALL_IOCTL (MTSP_SYSCALL_BASE + 10)
#define MTSP_O_RDONLY 0x0000
#define MTSP_O_WRONLY 0x0001
...
...
@@ -110,7 +111,8 @@ struct apsp_table syscall_command_table[] = {
{
MTSP_SYSCALL_CLOSE
,
__NR_close
},
{
MTSP_SYSCALL_READ
,
__NR_read
},
{
MTSP_SYSCALL_WRITE
,
__NR_write
},
{
MTSP_SYSCALL_LSEEK32
,
__NR_lseek
}
{
MTSP_SYSCALL_LSEEK32
,
__NR_lseek
},
{
MTSP_SYSCALL_IOCTL
,
__NR_ioctl
}
};
static
int
sp_syscall
(
int
num
,
int
arg0
,
int
arg1
,
int
arg2
,
int
arg3
)
...
...
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