Re: [PATCH] Add note that lockdep is not allowed with non-GPL modules
From: Petr Vandrovec
Date: Tue Jul 04 2006 - 22:52:42 EST
Valdis.Kletnieks@xxxxxx wrote:
On Tue, 04 Jul 2006 23:20:53 +0200, Petr Vandrovec said:
Lock validor found a bug in NVidia driver, film at 11.
It almost certainly didn't, as you have to do some major ugly and evil
things to get the NVidia driver to build (it won't pass modpost if the
kernel is built with lockdep due to the GPL-only exports that get sucked in).
I have no idea how NVidia managed to work around that problem, but
VMware modules suddenly depend on this GPL-only symbol, although nothing
in the module sources refers to lockdep (same sources which worked
yesterday are being used).
It doesn't reference it directly - it gets sucked in via a #define.
VMware code is shoot down due to use of init_waitqueue_head(). It is
now virtually GPL-only because it is inlined and uses GPL-only function
lockdep_init_map :-(
Petr
-
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/