From: David S. Miller Date: Tue, 28 Oct 2014 21:27:23 +0000 (-0400) Subject: openvswitch: Export lockdep_ovsl_is_held to modules. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2c6c49ded7a7209fe8618423c457b8000ee528a4;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git openvswitch: Export lockdep_ovsl_is_held to modules. ERROR: "lockdep_ovsl_is_held" [net/openvswitch/vport-gre.ko] undefined! Reported-by: Alexei Starovoitov Signed-off-by: David S. Miller --- diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c index aecddb9bb80a..f18302f32049 100644 --- a/net/openvswitch/datapath.c +++ b/net/openvswitch/datapath.c @@ -131,6 +131,7 @@ int lockdep_ovsl_is_held(void) else return 1; } +EXPORT_SYMBOL(lockdep_ovsl_is_held); #endif static struct vport *new_vport(const struct vport_parms *);