diff options
Diffstat (limited to 'recipes-kernel/linux/linux-imx-rt-3.14.28/0002-fix-build-with-rt-enabled.patch')
-rw-r--r-- | recipes-kernel/linux/linux-imx-rt-3.14.28/0002-fix-build-with-rt-enabled.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-imx-rt-3.14.28/0002-fix-build-with-rt-enabled.patch b/recipes-kernel/linux/linux-imx-rt-3.14.28/0002-fix-build-with-rt-enabled.patch new file mode 100644 index 0000000..83652c9 --- /dev/null +++ b/recipes-kernel/linux/linux-imx-rt-3.14.28/0002-fix-build-with-rt-enabled.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Fix build error when PREEMPT_RT_FULL is enabled | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> | ||
6 | |||
7 | Index: git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | ||
8 | =================================================================== | ||
9 | --- git.orig/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | ||
10 | +++ git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | ||
11 | @@ -3266,7 +3266,7 @@ gckOS_CreateMutex( | ||
12 | gcmkONERROR(gckOS_Allocate(Os, gcmSIZEOF(struct mutex), Mutex)); | ||
13 | |||
14 | /* Initialize the mutex. */ | ||
15 | - mutex_init(*Mutex); | ||
16 | + mutex_init((struct mutex*)*Mutex); | ||
17 | |||
18 | /* Return status. */ | ||
19 | gcmkFOOTER_ARG("*Mutex=0x%X", *Mutex); | ||