2009-03-09 01:42:18

by Xiaotian Feng

[permalink] [raw]
Subject: [PATCH V1] mips: fix mips syscall wrapper sys_32_ipc bug

There's a typo in mips syscall wrapper sys_32_ipc. If CONFIG_SYSVIPC
is not set, it will cause mips linux compile error.

Signed-off-by: Xiaotian Feng <[email protected]>
---
arch/mips/kernel/linux32.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/kernel/linux32.c b/arch/mips/kernel/linux32.c
index 2f8452b..1a86f84 100644
--- a/arch/mips/kernel/linux32.c
+++ b/arch/mips/kernel/linux32.c
@@ -235,7 +235,7 @@ SYSCALL_DEFINE6(32_ipc, u32, call, long, first, long, second, long, third,
#else

SYSCALL_DEFINE6(32_ipc, u32, call, int, first, int, second, int, third,
- u32, ptr, u32 fifth)
+ u32, ptr, u32, fifth)
{
return -ENOSYS;
}
--
1.5.5.1


2009-03-10 21:30:40

by Ralf Baechle

[permalink] [raw]
Subject: Re: [PATCH V1] mips: fix mips syscall wrapper sys_32_ipc bug

On Mon, Mar 09, 2009 at 09:45:12AM +0800, Xiaotian Feng wrote:

>
> There's a typo in mips syscall wrapper sys_32_ipc. If CONFIG_SYSVIPC
> is not set, it will cause mips linux compile error.
>
> Signed-off-by: Xiaotian Feng <[email protected]>

Thanks, applied.

Ralf