> --- 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);

What advantage does this have over the earlier form?

In general this should be split up into three patches.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to