diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-03-01 01:45:15 -0900 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-03-08 02:34:33 -0900 |
commit | 06b73dbd7ffc0296b2ecea8d3bc55bfeb72d7f2a (patch) | |
tree | 1ba37985a18eb2d9a9616ee160c82339e23e2160 /include/linux/generic-radix-tree.h | |
parent | 171ee48e57be78f4e95954c99851553fa523bf91 (diff) |
cmd_migratedisk-format-changes
Diffstat (limited to 'include/linux/generic-radix-tree.h')
-rw-r--r-- | include/linux/generic-radix-tree.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/include/linux/generic-radix-tree.h b/include/linux/generic-radix-tree.h index 1a951e9..6ea2deb 100644 --- a/include/linux/generic-radix-tree.h +++ b/include/linux/generic-radix-tree.h @@ -8,7 +8,6 @@ * interior nodes. */ -#include <linux/page.h> #include <linux/bug.h> #include <linux/kernel.h> #include <linux/log2.h> @@ -41,20 +40,14 @@ struct __genradix { * genradix. */ -#define DECLARE_GENRADIX_TYPE(_name, _type) \ -struct _name { \ - struct __genradix tree; \ - _type type[0] __aligned(1); \ -} - -#define DECLARE_GENRADIX(_name, _type) \ +#define GENRADIX(_type) \ struct { \ struct __genradix tree; \ _type type[0] __aligned(1); \ -} _name +} #define DEFINE_GENRADIX(_name, _type) \ - DECLARE_GENRADIX(_name, _type) = __GENRADIX_INITIALIZER + GENRADIX(_type) _name = __GENRADIX_INITIALIZER #define genradix_init(_radix) \ do { \ |