From: Geert U. <ge...@li...> - 2014-10-20 07:15:56
|
On Sun, Oct 19, 2014 at 5:14 PM, Thomas Meyer <th...@m3...> 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...@li... 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 |