aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Gilling <konkers@android.com>2011-03-30 10:54:20 -0700
committerErik Gilling <konkers@android.com>2011-03-30 11:27:17 -0700
commit2c34ace397fc9d6ee02eb3d9d57cc6530d275f12 (patch)
treeb848419a75a17f23b110409c06d06757bb4d676d
parent0e71ba59543e040b472641d0d73ec652b160e5ec (diff)
downloadexperimental-sandbox/konkers/linux-omap-2.6.39-rc1.tar.gz
gpu: pvr: 2.6.39-rc1 fixupssandbox/konkers/linux-omap-2.6.39-rc1
Change-Id: Iea62c8a023d7d2c66fb3d42c8b81cb6e33c436e4 Signed-off-by: Erik Gilling <konkers@android.com>
-rw-r--r--drivers/gpu/pvr/pvr_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/pvr/pvr_debug.c b/drivers/gpu/pvr/pvr_debug.c
index 734aebb2cc1..aa3330fce43 100644
--- a/drivers/gpu/pvr/pvr_debug.c
+++ b/drivers/gpu/pvr/pvr_debug.c
@@ -68,7 +68,7 @@ static IMG_CHAR gszBufferIRQ[PVR_MAX_MSG_LEN + 1];
static PVRSRV_LINUX_MUTEX gsDebugMutexNonIRQ;
-static spinlock_t gsDebugLockIRQ = SPIN_LOCK_UNLOCKED;
+DEFINE_SPINLOCK(gsDebugLockIRQ);
#if !defined (USE_SPIN_LOCK)
#define USE_SPIN_LOCK (in_interrupt() || !preemptible())