summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-05-21 22:26:14 +0200
committerWolfgang Denk <wd@denx.de>2010-05-21 22:26:14 +0200
commit8b79f2ce80d62e92d11ca90e472f240305e14f1f (patch)
tree6bd44d41195d141a5982222de38d30469e9a9062 /include
parent8a452c2c17bc284e3f91b8ed4aec9d2b9b342df7 (diff)
parentbdc5f06789c5a0c3a9a2c0eb33ec4d177dbdaa22 (diff)
downloadu-boot-8b79f2ce80d62e92d11ca90e472f240305e14f1f.tar.gz
u-boot-8b79f2ce80d62e92d11ca90e472f240305e14f1f.tar.xz
u-boot-8b79f2ce80d62e92d11ca90e472f240305e14f1f.zip
Merge branch 'master' of git://git.denx.de/u-boot-ubi
Diffstat (limited to 'include')
-rw-r--r--include/ubi_uboot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ubi_uboot.h b/include/ubi_uboot.h
index 60f6a5fb4f..d2c90a6b44 100644
--- a/include/ubi_uboot.h
+++ b/include/ubi_uboot.h
@@ -123,7 +123,7 @@ typedef int wait_queue_head_t;
#define init_rwsem(...) do { } while (0)
#define down_read(...) do { } while (0)
#define down_write(...) do { } while (0)
-#define down_write_trylock(...) 0
+#define down_write_trylock(...) 1
#define up_read(...) do { } while (0)
#define up_write(...) do { } while (0)