kernel/kprobes.c: don't pad kretprobe_table_locks[] on uniprocessor builds
[deliverable/linux.git] / kernel / kprobes.c
index f83c5e42fb07bd309c189433df49ab2ffdd9a0a6..9f8a3f25259a9da4c8535bab07014b07da79a643 100644 (file)
@@ -72,7 +72,7 @@ static bool kprobe_enabled;
 DEFINE_MUTEX(kprobe_mutex);            /* Protects kprobe_table */
 static DEFINE_PER_CPU(struct kprobe *, kprobe_instance) = NULL;
 static struct {
-       spinlock_t lock ____cacheline_aligned;
+       spinlock_t lock ____cacheline_aligned_in_smp;
 } kretprobe_table_locks[KPROBE_TABLE_SIZE];
 
 static spinlock_t *kretprobe_table_lock_ptr(unsigned long hash)
This page took 0.02526 seconds and 5 git commands to generate.