v2.5.0.4 -> v2.5.0.5
[linux-flexiantxendom0-3.2.10.git] / fs / block_dev.c
index a01fd88..de4cb8a 100644 (file)
@@ -234,7 +234,7 @@ static struct vfsmount *bd_mnt;
 #define HASH_SIZE      (1UL << HASH_BITS)
 #define HASH_MASK      (HASH_SIZE-1)
 static struct list_head bdev_hashtable[HASH_SIZE];
-static spinlock_t bdev_lock = SPIN_LOCK_UNLOCKED;
+static spinlock_t bdev_lock __cacheline_aligned_in_smp = SPIN_LOCK_UNLOCKED;
 static kmem_cache_t * bdev_cachep;
 
 #define alloc_bdev() \