瀏覽代碼

mem: fix TLSF max pool limit

Camille Oudot 10 年之前
父節點
當前提交
fe379acb5f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mem/tlsf.c

+ 1 - 1
mem/tlsf.c

@@ -47,7 +47,7 @@ enum tlsf_private
 	** TODO: We can increase this to support larger sizes, at the expense
 	** TODO: We can increase this to support larger sizes, at the expense
 	** of more overhead in the TLSF structure.
 	** of more overhead in the TLSF structure.
 	*/
 	*/
-	FL_INDEX_MAX = 40,
+	FL_INDEX_MAX = 39,
 #else
 #else
 	FL_INDEX_MAX = 30,
 	FL_INDEX_MAX = 30,
 #endif
 #endif