From: Grazvydas Ignotas Date: Sat, 24 Mar 2012 23:55:49 +0000 (+0200) Subject: spinlock fix from services4/system/omap3630 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18ca661d40458cf1cd2e2ae354de2802ab8a4417;p=sgx.git spinlock fix from services4/system/omap3630 --- diff --git a/services4/system/omap3430/sysutils_linux.c b/services4/system/omap3430/sysutils_linux.c index 0991d3f..05f8f79 100644 --- a/services4/system/omap3430/sysutils_linux.c +++ b/services4/system/omap3430/sysutils_linux.c @@ -107,10 +107,10 @@ static IMG_VOID PowerLockUnwrap(SYS_SPECIFIC_DATA *psSysSpecData) { PVR_ASSERT(PowerLockWrappedOnCPU(psSysSpecData)); - spin_unlock(&psSysSpecData->sPowerLock); - atomic_set(&psSysSpecData->sPowerLockCPU, -1); + spin_unlock(&psSysSpecData->sPowerLock); + put_cpu(); } }