diff mbox

wire up sysmmsg syscall

Message ID 1311950222.8190.43.camel@mulgrave (mailing list archive)
State Accepted
Headers show

Commit Message

James Bottomley July 29, 2011, 2:37 p.m. UTC
Signed-off-by: James Bottomley <JBottomley@Parallels.com>

---



--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Thibaut VARENE July 31, 2011, 9:46 p.m. UTC | #1
Hi James,

On Fri, Jul 29, 2011 at 4:37 PM, James Bottomley
<James.Bottomley@hansenpartnership.com> wrote:
> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
>
> ---
>
> diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/asm/unistd.h
> index 3392de3..276df1c 100644
> --- a/arch/parisc/include/asm/unistd.h
> +++ b/arch/parisc/include/asm/unistd.h
> @@ -821,8 +821,10 @@
>  #define __NR_open_by_handle_at (__NR_Linux + 326)
>  #define __NR_syncfs            (__NR_Linux + 327)
>  #define __NR_setns             (__NR_Linux + 328)
> +#define __NR_setns             (__NR_Linux + 328)

^ I may be wrong but this looks like a spurious "+", just reading this patch...

HTH

T-Bone
John David Anglin July 31, 2011, 10:20 p.m. UTC | #2
On 31-Jul-11, at 5:46 PM, Thibaut VARENE wrote:

> Hi James,
>
> On Fri, Jul 29, 2011 at 4:37 PM, James Bottomley
> <James.Bottomley@hansenpartnership.com> wrote:
>> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
>>
>> ---
>>
>> diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/ 
>> asm/unistd.h
>> index 3392de3..276df1c 100644
>> --- a/arch/parisc/include/asm/unistd.h
>> +++ b/arch/parisc/include/asm/unistd.h
>> @@ -821,8 +821,10 @@
>>  #define __NR_open_by_handle_at (__NR_Linux + 326)
>>  #define __NR_syncfs            (__NR_Linux + 327)
>>  #define __NR_setns             (__NR_Linux + 328)
>> +#define __NR_setns             (__NR_Linux + 328)
>
> ^ I may be wrong but this looks like a spurious "+", just reading  
> this patch...

Yes.  Also, there is a typo in the mail Subject...

Dave
--
John David Anglin	dave.anglin@bell.net



--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/parisc/include/asm/unistd.h b/arch/parisc/include/asm/unistd.h
index 3392de3..276df1c 100644
--- a/arch/parisc/include/asm/unistd.h
+++ b/arch/parisc/include/asm/unistd.h
@@ -821,8 +821,10 @@ 
 #define __NR_open_by_handle_at	(__NR_Linux + 326)
 #define __NR_syncfs		(__NR_Linux + 327)
 #define __NR_setns		(__NR_Linux + 328)
+#define __NR_setns		(__NR_Linux + 328)
+#define __NR_sendmmsg		(__NR_Linux + 329)
 
-#define __NR_Linux_syscalls	(__NR_setns + 1)
+#define __NR_Linux_syscalls	(__NR_sendmmsg + 1)
 
 
 #define __IGNORE_select		/* newselect */
diff --git a/arch/parisc/kernel/syscall_table.S b/arch/parisc/kernel/syscall_table.S
index 34a4f5a..e66366f 100644
--- a/arch/parisc/kernel/syscall_table.S
+++ b/arch/parisc/kernel/syscall_table.S
@@ -427,6 +427,7 @@ 
 	ENTRY_COMP(open_by_handle_at)
 	ENTRY_SAME(syncfs)
 	ENTRY_SAME(setns)
+	ENTRY_COMP(sendmmsg)
 
 	/* Nothing yet */