mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 20:19:01 +02:00

Update based on linux-imx-rt 3.10.31 Signed-off-by: Raphael Silva <raphael.philipe@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
20 lines
692 B
Diff
20 lines
692 B
Diff
Fix build error when PREEMPT_RT_FULL is enabled
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
|
|
|
|
Index: git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c
|
|
===================================================================
|
|
--- git.orig/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c
|
|
+++ git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c
|
|
@@ -3266,7 +3266,7 @@ gckOS_CreateMutex(
|
|
gcmkONERROR(gckOS_Allocate(Os, gcmSIZEOF(struct mutex), Mutex));
|
|
|
|
/* Initialize the mutex. */
|
|
- mutex_init(*Mutex);
|
|
+ mutex_init((struct mutex*)*Mutex);
|
|
|
|
/* Return status. */
|
|
gcmkFOOTER_ARG("*Mutex=0x%X", *Mutex);
|