From: Alexey Dobriyan Date: Sat, 5 Aug 2006 19:14:34 +0000 (-0700) Subject: [PATCH] Fix more per-cpu typos X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=825e037fb8912f38e9d9ddd3ec79fa7c584db708;p=linux-beck.git [PATCH] Fix more per-cpu typos Signed-off-by: Alexey Dobriyan Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/kernel/smp.c b/arch/x86_64/kernel/smp.c index 5a1c0a3bf872..06af6ca60129 100644 --- a/arch/x86_64/kernel/smp.c +++ b/arch/x86_64/kernel/smp.c @@ -203,7 +203,7 @@ int __cpuinit init_smp_flush(void) { int i; for_each_cpu_mask(i, cpu_possible_map) { - spin_lock_init(&per_cpu(flush_state.tlbstate_lock, i)); + spin_lock_init(&per_cpu(flush_state, i).tlbstate_lock); } return 0; }