Re: [PATCH] build fix for smp
From: Ingo Molnar
Date: Wed Mar 19 2008 - 17:03:15 EST
* Glauber de Oliveira Costa <gcosta@xxxxxxxxxx> wrote:
> +#if defined(CONFIG_X86_64) || defined(CONFIG_X86_BIOS_REBOOT)
> if (reboot_force)
> return;
> +#endif
please solve it slightly differently: introduce a uniformly usable
reboot_force flag, that will always default to the constant of 1 if
!X86_64 && !X86_BIOS_REBOOT. That makes the code cleaner - and not the
least i can also merge the fix earlier in the series, without having to
redo the big smp.c movement patch :-)
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/