On Sun, Oct 19, 2014 at 5:14 PM, Thomas Meyer <tho...@m3y3r.de> wrote:
> --- a/arch/um/kernel/um_arch.c
> +++ b/arch/um/kernel/um_arch.c
> @@ -251,6 +251,9 @@ static struct notifier_block panic_exit_notifier = {
>
>  void uml_finishsetup(void)
>  {
> +#ifdef CONFIG_LOCKDEP
> +       lockdep_init();
> +#endif

The #ifdef is not needed. include/linux/lockdep.h provides a dummy
definition if !CONFIG_LOCKDEP.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to