> diff --git a/arch/x86/kernel/vsmp_64.c b/arch/x86/kernel/vsmp_64.c > index f6584a9..b7f8e5b 100644 > --- a/arch/x86/kernel/vsmp_64.c > +++ b/arch/x86/kernel/vsmp_64.c > @@ -26,6 +26,8 @@ > > #define TOPOLOGY_REGISTER_OFFSET 0x10 > > +static int irc = 1;
Using a static for such state is very unusual. You need to describe what protects it against races and why that is needed over a cleaner solution. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/