Skip to contentSkip to conversation

parisc fixes for 3.0

GIT PULL James Bottomley 1 participant 1 message Aug 4, 2011

Subsystems (2)
lore
Share & tools
lore

James Bottomley

author maintainer
#0 lore raw

This is basically three bug fixes that turned up recently (one wire up of a syscall, a futex fix and an atomic problem with variable size)

The patches are here:

master.kernel.org:/pub/scm/linux/kernel/git/jejb/parisc-2.6.git#fixes

The short changelog is:

Carlos O'Donell (1):
[PARISC] Fix futex support

James Bottomley (1):
[PARISC] wire up sendmmsg syscall

John David Anglin (1):
[PARISC] fix return type of __atomic64_add_return

The diffstat is:

 arch/parisc/include/asm/atomic.h   |    4 +-
 arch/parisc/include/asm/futex.h    |   66 ++++++++++++++++++++++++++++++++---
 arch/parisc/include/asm/unistd.h   |    3 +-
 arch/parisc/kernel/syscall_table.S |    1 +
 4 files changed, 65 insertions(+), 9 deletions(-)

And the full diff is attached below.

James

---

arch/parisc/include/asm/atomic.h +2 -2
index f819559..26fd114 100644
@@ -259,10 +259,10 @@ static __inline__ int atomic_add_unless(atomic_t *v, int a, int u)
 
 #define ATOMIC64_INIT(i) ((atomic64_t) { (i) })
 
-static __inline__ int
+static __inline__ s64
 __atomic64_add_return(s64 i, atomic64_t *v)
 {
-	int ret;
+	s64 ret;
 	unsigned long flags;
 	_atomic_spin_lock_irqsave(v, flags);
 
arch/parisc/include/asm/futex.h +60 -6

111 lines not on this page · raw message

arch/parisc/include/asm/unistd.h +2 -1
index 3392de3..d61de64 100644
@@ -821,8 +821,9 @@
 #define __NR_open_by_handle_at	(__NR_Linux + 326)
 #define __NR_syncfs		(__NR_Linux + 327)
 #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 */