Re: [PATCH] VMI paravirt-ops bugfix for 2.6.21

From: Andrew Morton
Date: Sat Mar 31 2007 - 04:03:13 EST


On Sat, 31 Mar 2007 00:45:59 -0800 Zachary Amsden <zach@xxxxxxxxxx> wrote:

> +static void vmi_set_lazy_mode(int new_mode)
> +{
> + static DEFINE_PER_CPU(int, mode);
> + static DEFINE_PER_CPU(unsigned long, flags);
> + int cpu = smp_processor_id();

That will cause upset if CONFIG_PREEMPT=y?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/