mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 22:03:17 +01:00
The shared radix-tree build is not correctly recompiling when
lib/maple_tree.c and lib/test_maple_tree.c are modified - fix this by
adding these core components to the SHARED_DEPS list.
Additionally, add missing header guards to shared header files.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 74579d8dab ("tools: separate out shared radix-tree components")
Signed-off-by: Lorenzo Stoakes <[email protected]>
Tested-by: Sidhartha Kumar <[email protected]>
Cc: "Liam R. Howlett" <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
14 lines
314 B
C
14 lines
314 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
#ifndef __MAPLE_SHARED_H__
|
|
#define __MAPLE_SHARED_H__
|
|
|
|
#define CONFIG_DEBUG_MAPLE_TREE
|
|
#define CONFIG_MAPLE_SEARCH
|
|
#define MAPLE_32BIT (MAPLE_NODE_SLOTS > 31)
|
|
#include "shared.h"
|
|
#include <stdlib.h>
|
|
#include <time.h>
|
|
#include "linux/init.h"
|
|
|
|
#endif /* __MAPLE_SHARED_H__ */
|