diff options
Diffstat (limited to 'mach-defpager/priv.h')
-rw-r--r-- | mach-defpager/priv.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mach-defpager/priv.h b/mach-defpager/priv.h index a8844521..6f5aade6 100644 --- a/mach-defpager/priv.h +++ b/mach-defpager/priv.h @@ -61,11 +61,12 @@ struct part { }; typedef struct part *partition_t; -struct { +struct partitions { pthread_mutex_t lock; int n_partitions; partition_t *partition_list;/* array, for quick mapping */ -} all_partitions; /* list of all such */ +}; +extern struct partitions all_partitions; /* list of all such */ typedef unsigned char p_index_t; |