]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
maple_tree: Fix compilation differently
authorMatthew Wilcox <willy@infradead.org>
Thu, 20 Dec 2018 02:28:39 +0000 (21:28 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 31 Jul 2019 14:52:33 +0000 (10:52 -0400)
Signed-off-by: Matthew Wilcox <willy@infradead.org>
include/linux/maple_tree.h
tools/testing/radix-tree/Makefile
tools/testing/radix-tree/generated/autoconf.h

index 369977f6420732fe5b94f40fb8ee9ced8f61cde0..eca9137a189d1c2c36647d7ec1058da8ee1ea4ba 100644 (file)
@@ -25,7 +25,6 @@
  *
  * Nodes in the tree point to their parent unless bit 0 is set.
  */
-#define CONFIG_64BIT
 #ifdef CONFIG_64BIT
 #define MAPLE_NODE_SLOTS       15      /* 128 bytes including ->parent */
 #define MAPLE_RANGE64_SLOTS    8       /* 128 bytes */
index adb99e27e8630783356f0ada48e9d58c4664d987..0aad7e2ec4c9faab9c2c467b38007e7fb5448d63 100644 (file)
@@ -7,6 +7,7 @@ LDLIBS+= -lpthread -lurcu
 TARGETS = main idr-test multiorder xarray maple
 CORE_OFILES := xarray.o radix-tree.o idr.o linux.o test.o find_bit.o bitmap.o maple.o
 OFILES = main.o $(CORE_OFILES) regression1.o regression2.o regression3.o \
+        regression4.o \
         tag_check.o multiorder.o idr-test.o iteration_check.o benchmark.o
 
 ifndef SHIFT
index 2218b3cc184e419d7d27e0331f3ec393f589d07b..e7da803502362baaa87ca7e77ba53c7b71d16e95 100644 (file)
@@ -1 +1,2 @@
 #define CONFIG_XARRAY_MULTI 1
+#define CONFIG_64BIT 1