Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a25a6c1 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
* 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
  [S390] futex: let futex_atomic_cmpxchg_pt survive early functional tests.
parents ba422428 504e75d0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -406,6 +406,8 @@ int futex_atomic_cmpxchg_pt(int __user *uaddr, int oldval, int newval)
{
	int ret;

	if (!current->mm)
		return -EFAULT;
	spin_lock(&current->mm->page_table_lock);
	uaddr = (int __user *) __dat_user_addr((unsigned long) uaddr);
	if (!uaddr) {