diff options
author | Enrico Butera <ebutera@users.berlios.de> | 2011-08-06 13:02:30 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-08-16 09:46:06 +0200 |
commit | e32f2b80be99d999fddfb1673dd014f70805048b (patch) | |
tree | 33c57fa5a4318d41a3b84bc46fd9cb61010921d4 /recipes-ti/linuxutils/ti-linuxutils/linuxutils-BKL-fix-2.patch | |
parent | 3242ac8f0aa57039141dab9c58a9703215c46539 (diff) | |
download | meta-ti-e32f2b80be99d999fddfb1673dd014f70805048b.tar.gz |
import codec engine and dependencies from oe classic
Signed-off-by: Enrico Butera <ebutera@users.berlios.de>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes-ti/linuxutils/ti-linuxutils/linuxutils-BKL-fix-2.patch')
-rw-r--r-- | recipes-ti/linuxutils/ti-linuxutils/linuxutils-BKL-fix-2.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-ti/linuxutils/ti-linuxutils/linuxutils-BKL-fix-2.patch b/recipes-ti/linuxutils/ti-linuxutils/linuxutils-BKL-fix-2.patch new file mode 100644 index 00000000..1438003c --- /dev/null +++ b/recipes-ti/linuxutils/ti-linuxutils/linuxutils-BKL-fix-2.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | From: Koen Kooi <k-kooi@ti.com> | ||
2 | Subject: linuxutils: fix build with 2.6.37rcX | ||
3 | |||
4 | --- | ||
5 | |||
6 | --- /tmp/sdmak.c 2010-12-05 18:43:55.000000000 +0100 | ||
7 | +++ linuxutils_2_25_05_11/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c 2010-12-05 18:48:31.000000000 +0100 | ||
8 | @@ -208,9 +208,12 @@ | ||
9 | } | ||
10 | |||
11 | up_read(¤t->mm->mmap_sem); | ||
12 | - | ||
13 | +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36) | ||
14 | + sema_init(&(channels[channel].mutex),1); | ||
15 | +#else | ||
16 | init_MUTEX_LOCKED(&(channels[channel].mutex)); | ||
17 | - channels[channel].owner = filp; | ||
18 | +#endif | ||
19 | + channels[channel].owner = filp; | ||
20 | |||
21 | if (copy_to_user(argp, &channel, sizeof(channel))) { | ||
22 | return -EFAULT; | ||