fix multiple definition

This commit is contained in:
zy
2023-11-16 18:26:49 +08:00
parent 67b53ae048
commit d94f916f2d
6 changed files with 68 additions and 38 deletions

View File

@@ -68,8 +68,8 @@ typedef struct {
spinlock_t mm_tree_lock;
} mm_tree;
mm_tree mm_tree_struct;
struct diag_variant_buffer load_monitor_variant_buffer; // Global buffer
extern mm_tree mm_tree_struct;
extern struct diag_variant_buffer load_monitor_variant_buffer; // Global buffer
void diag_task_brief(struct task_struct *tsk,
task_detail *detail); // get task brief