mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 15:22:21 -04:00
maple_tree: drop MAPLE_ALLOC_SLOTS
MAPLE_ALLOC_SLOTS is no longer used, so remove it. Link: https://lore.kernel.org/20260821192627.4085470-7-liam@infradead.org Signed-off-by: Liam R. Howlett (Oracle) <liam@infradead.org> Cc: Boqun Feng <boqun.feng@gmail.com> Cc: Breno Leitao <leitao@debian.org> Cc: Chris Mason <clm@meta.com> Cc: Chuck Lever <cel@kernel.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jason Gunthorpe <jgg@ziepe.ca> Cc: Joe Perches <joe@perches.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Rik van Riel <riel@surriel.com> Cc: Waiman Long <longman@redhat.com> Cc: Will Deacon <will@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
committed by
Andrew Morton
parent
acac9108a6
commit
3526e09d8c
@@ -28,13 +28,11 @@
|
||||
#define MAPLE_NODE_SLOTS 31 /* 256 bytes including ->parent */
|
||||
#define MAPLE_RANGE64_SLOTS 16 /* 256 bytes */
|
||||
#define MAPLE_ARANGE64_SLOTS 10 /* 240 bytes */
|
||||
#define MAPLE_ALLOC_SLOTS (MAPLE_NODE_SLOTS - 1)
|
||||
#else
|
||||
/* 32bit sizes */
|
||||
#define MAPLE_NODE_SLOTS 63 /* 256 bytes including ->parent */
|
||||
#define MAPLE_RANGE64_SLOTS 32 /* 256 bytes */
|
||||
#define MAPLE_ARANGE64_SLOTS 21 /* 240 bytes */
|
||||
#define MAPLE_ALLOC_SLOTS (MAPLE_NODE_SLOTS - 2)
|
||||
#endif /* defined(CONFIG_64BIT) || defined(BUILD_VDSO32_64) */
|
||||
|
||||
#define MAPLE_NODE_MASK 255UL
|
||||
|
||||
Reference in New Issue
Block a user