mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +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]>
38 lines
598 B
C
38 lines
598 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __SHARED_H__
|
|
#define __SHARED_H__
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/bug.h>
|
|
#include <linux/kernel.h>
|
|
#include <linux/bitops.h>
|
|
|
|
#include <linux/gfp.h>
|
|
#include <linux/rcupdate.h>
|
|
|
|
#ifndef module_init
|
|
#define module_init(x)
|
|
#endif
|
|
|
|
#ifndef module_exit
|
|
#define module_exit(x)
|
|
#endif
|
|
|
|
#ifndef MODULE_AUTHOR
|
|
#define MODULE_AUTHOR(x)
|
|
#endif
|
|
|
|
#ifndef MODULE_LICENSE
|
|
#define MODULE_LICENSE(x)
|
|
#endif
|
|
|
|
#ifndef MODULE_DESCRIPTION
|
|
#define MODULE_DESCRIPTION(x)
|
|
#endif
|
|
|
|
#ifndef dump_stack
|
|
#define dump_stack() assert(0)
|
|
#endif
|
|
|
|
#endif /* __SHARED_H__ */
|