summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/revert_futex_ensure_that_futex_address_is_aligned_in_handle_futex_death.patch
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-05-21 01:22:46 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2020-05-22 21:38:18 +0000
commit2315d89136c7147931b3cd658fc43f2441c7ceb0 (patch)
treeef2822a2389ea08d4f6d772771cac5a1e59583e3 /recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/revert_futex_ensure_that_futex_address_is_aligned_in_handle_futex_death.patch
parent64802e9b6c8bbe62d7d5cbc0df681f34951ba984 (diff)
linux kernel rt 4.9: update to latest rt patch
Update linux-toradex-rt_4.9-2.3.x to patch-4.9.220-rt143. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/revert_futex_ensure_that_futex_address_is_aligned_in_handle_futex_death.patch')
-rw-r--r--recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/revert_futex_ensure_that_futex_address_is_aligned_in_handle_futex_death.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/revert_futex_ensure_that_futex_address_is_aligned_in_handle_futex_death.patch b/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/revert_futex_ensure_that_futex_address_is_aligned_in_handle_futex_death.patch
deleted file mode 100644
index 428bbdf..0000000
--- a/recipes-kernel/linux/linux-toradex-rt-4.9-2.3.x/revert_futex_ensure_that_futex_address_is_aligned_in_handle_futex_death.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-commit f90e153d43ab26a02975c5de9d50b01161f044da
-Author: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-Date: Tue Apr 16 03:06:34 2019 +0200
-
- Revert "futex: Ensure that futex address is aligned in handle_futex_death()"
-
- This reverts commit 726c28f30ac16e0d4cab17751b447e4abf61b102.
-
-diff --git a/kernel/futex.c b/kernel/futex.c
-index 2e766ffff2cb..30fe0432c46d 100644
---- a/kernel/futex.c
-+++ b/kernel/futex.c
-@@ -3110,10 +3110,6 @@ int handle_futex_death(u32 __user *uaddr, struct task_struct *curr, int pi)
- {
- u32 uval, uninitialized_var(nval), mval;
-
-- /* Futex address must be 32bit aligned */
-- if ((((unsigned long)uaddr) % sizeof(*uaddr)) != 0)
-- return -1;
--
- retry:
- if (get_user(uval, uaddr))
- return -1;