mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 04:14:24 +00:00
The core components contained within the radix-tree tests which provide shims for kernel headers and access to the maple tree are useful for testing other things, so separate them out and make the radix tree tests dependent on the shared components. This lays the groundwork for us to add VMA tests of the newly introduced vma.c file. Link: https://lkml.kernel.org/r/1ee720c265808168e0d75608e687607d77c36719.1722251717.git.lorenzo.stoakes@oracle.com Signed-off-by: Lorenzo Stoakes <[email protected]> Acked-by: Vlastimil Babka <[email protected]> Reviewed-by: Liam R. Howlett <[email protected]> Cc: Alexander Viro <[email protected]> Cc: Brendan Higgins <[email protected]> Cc: Christian Brauner <[email protected]> Cc: David Gow <[email protected]> Cc: Eric W. Biederman <[email protected]> Cc: Jan Kara <[email protected]> Cc: Kees Cook <[email protected]> Cc: Matthew Wilcox (Oracle) <[email protected]> Cc: Rae Moar <[email protected]> Cc: SeongJae Park <[email protected]> Cc: Shuah Khan <[email protected]> Cc: Suren Baghdasaryan <[email protected]> Cc: Pengfei Xu <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
34 lines
529 B
C
34 lines
529 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#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
|