HFI1: move tid_rb_node to header

This commit is contained in:
Balazs Gerofi
2017-10-25 13:16:42 +09:00
parent 79f9a2d31a
commit 6848c2ecf7
2 changed files with 7 additions and 7 deletions

View File

@ -77,6 +77,13 @@ struct tid_group {
u8 map;
};
struct tid_rb_node {
uintptr_t phys;
u32 len;
u32 rcventry;
struct tid_group *grp;
};
struct tid_pageset {
u16 idx;
u16 count;

View File

@ -67,13 +67,6 @@ static int set_rcvarray_entry(struct hfi1_filedata *, uintptr_t,
static int unprogram_rcvarray(struct hfi1_filedata *, u32, struct tid_group **);
static void clear_tid_node(struct hfi1_filedata *, struct tid_rb_node *);
struct tid_rb_node {
uintptr_t phys;
u32 len;
u32 rcventry;
struct tid_group *grp;
};
struct kmalloc_cache_header tidlist_cache = { NULL };
/*