X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Fubi_uboot.h;h=d2c90a6b44715b64f6fbf5df84e99ba1bc633018;hb=dbbf13ba7b3a8624016fb369447407c77a8b0f7d;hp=60f6a5fb4f53ed7464f1c5d3d53d088d501ef494;hpb=88f9d60b62829ea2a948b9c20fc8a3df94b512bd;p=u-boot 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)