Re: [PATCH v2] hwmon (coretemp): Fix build breakage if SMP isundefined

From: Ingo Molnar
Date: Mon Sep 27 2010 - 09:00:29 EST



* Guenter Roeck <guenter.roeck@xxxxxxxxxxxx> wrote:

> +#ifdef CONFIG_SMP
> +#endif
> +#ifdef CONFIG_SMP
> +#endif

Hm, this tickles my uglo-meter. Is there no cleaner way, preferably one
that doesnt involve preprocessor directives?

Thanks,

Ingo
--
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/