|
@@ -103,7 +103,7 @@ int mmu_ci_restrictions;
|
|
#ifdef CONFIG_DEBUG_PAGEALLOC
|
|
#ifdef CONFIG_DEBUG_PAGEALLOC
|
|
static u8 *linear_map_hash_slots;
|
|
static u8 *linear_map_hash_slots;
|
|
static unsigned long linear_map_hash_count;
|
|
static unsigned long linear_map_hash_count;
|
|
-static spinlock_t linear_map_hash_lock;
|
|
|
|
|
|
+static DEFINE_SPINLOCK(linear_map_hash_lock);
|
|
#endif /* CONFIG_DEBUG_PAGEALLOC */
|
|
#endif /* CONFIG_DEBUG_PAGEALLOC */
|
|
|
|
|
|
/* There are definitions of page sizes arrays to be used when none
|
|
/* There are definitions of page sizes arrays to be used when none
|