summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Green <andy.green@linaro.org>2011-05-31 09:25:22 +0100
committerAndy Green <andy.green@linaro.org>2011-05-31 11:06:55 +0100
commitc5832291b4a1b4d799d6b56e8d15e0f55983d6b2 (patch)
treebc831d0e477d3fd39a600a38a40e404fae3ea272
parent5a1daa94639966a3c0cba2365a2e317908321b0a (diff)
SGX fix declare mutex to define semaphore
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--drivers/gpu/pvr/resman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/pvr/resman.c b/drivers/gpu/pvr/resman.c
index 5936312cc53..4ae4ccf03c5 100644
--- a/drivers/gpu/pvr/resman.c
+++ b/drivers/gpu/pvr/resman.c
@@ -43,7 +43,7 @@
#include <asm/semaphore.h>
#endif
-static DECLARE_MUTEX(lock);
+static DEFINE_SEMAPHORE(lock);
#define ACQUIRE_SYNC_OBJ do { \
if (in_interrupt()) { \