Commit 0e6ee854 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] kspd: ioctl needs a translation entry.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent aea0e582
...@@ -70,6 +70,7 @@ static int sp_stopping = 0; ...@@ -70,6 +70,7 @@ static int sp_stopping = 0;
#define MTSP_SYSCALL_GETTIME (MTSP_SYSCALL_BASE + 7) #define MTSP_SYSCALL_GETTIME (MTSP_SYSCALL_BASE + 7)
#define MTSP_SYSCALL_PIPEFREQ (MTSP_SYSCALL_BASE + 8) #define MTSP_SYSCALL_PIPEFREQ (MTSP_SYSCALL_BASE + 8)
#define MTSP_SYSCALL_GETTOD (MTSP_SYSCALL_BASE + 9) #define MTSP_SYSCALL_GETTOD (MTSP_SYSCALL_BASE + 9)
#define MTSP_SYSCALL_IOCTL (MTSP_SYSCALL_BASE + 10)
#define MTSP_O_RDONLY 0x0000 #define MTSP_O_RDONLY 0x0000
#define MTSP_O_WRONLY 0x0001 #define MTSP_O_WRONLY 0x0001
...@@ -110,7 +111,8 @@ struct apsp_table syscall_command_table[] = { ...@@ -110,7 +111,8 @@ struct apsp_table syscall_command_table[] = {
{ MTSP_SYSCALL_CLOSE, __NR_close }, { MTSP_SYSCALL_CLOSE, __NR_close },
{ MTSP_SYSCALL_READ, __NR_read }, { MTSP_SYSCALL_READ, __NR_read },
{ MTSP_SYSCALL_WRITE, __NR_write }, { 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) static int sp_syscall(int num, int arg0, int arg1, int arg2, int arg3)
......
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