|
@@ -24,7 +24,7 @@ struct mbi_range {
|
|
|
unsigned long *bm;
|
|
unsigned long *bm;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-static struct mutex mbi_lock;
|
|
|
|
|
|
|
+static DEFINE_MUTEX(mbi_lock);
|
|
|
static phys_addr_t mbi_phys_base;
|
|
static phys_addr_t mbi_phys_base;
|
|
|
static struct mbi_range *mbi_ranges;
|
|
static struct mbi_range *mbi_ranges;
|
|
|
static unsigned int mbi_range_nr;
|
|
static unsigned int mbi_range_nr;
|