Skip to contentSkip to conversation

wire up sysmmsg syscall

PATCH In review James Bottomley 3 participants 3 messages Jul 29, 2011 – Jul 31, 2011 PA-RISC architecture

lore
Share & tools
lore

James Bottomley

author maintainer
#0 lore raw

PATCH 1/1 wire up sysmmsg syscall

---

arch/parisc/include/asm/unistd.h +3 -1
index 3392de3..276df1c 100644
@@ -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 */
arch/parisc/kernel/syscall_table.S +1 -0
index 34a4f5a..e66366f 100644
@@ -427,6 +427,7 @@
 	ENTRY_COMP(open_by_handle_at)
 	ENTRY_SAME(syncfs)
 	ENTRY_SAME(setns)
+	ENTRY_COMP(sendmmsg)
 
 	/* Nothing yet */
 
#1 lore raw

Hi James,

arch/parisc/include/a=

Quoted 5 lines · James Bottomley

---

arch/parisc/include/a= renamed from arch/parisc/include/asm/unistd.h +0 -0

sm/unistd.h

Quoted 6 lines

index 3392de3..276df1c 100644

arch/parisc/include/asm/unistd.h +0 -0
@@ -821,8 +821,10 @@
 =C2=A0#define __NR_open_by_handle_at (__NR_Linux + 326)

=C2=A0#define __NR_syncfs =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(_=

_NR_Linux + 327)

Quoted 1 line

=C2=A0#define __NR_setns =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (_=

_NR_Linux + 328)

Quoted 1 line

+#define __NR_setns =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (__NR_L=

inux + 328)

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

HTH

T-Bone

--=20
Thibaut VARENE
http://www.parisc-linux.org/~varenet/
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc"=
in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
Quoted 8 lines · Thibaut VARENE

Hi James,

Quoted 4 lines · James Bottomley

---

Quoted 11 lines

arch/parisc/include/asm/unistd.h line 824

Quoted 9 lines
arch/parisc/include/asm/unistd.h +1 -0
index 3392de3..276df1c 100644
@@ -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 [email protected]