OSDN Git Service

openvswitch: Export lockdep_ovsl_is_held to modules.
authorDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2014 21:27:23 +0000 (17:27 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Oct 2014 21:27:23 +0000 (17:27 -0400)
ERROR: "lockdep_ovsl_is_held" [net/openvswitch/vport-gre.ko] undefined!

Reported-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/datapath.c

index aecddb9..f18302f 100644 (file)
@@ -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 *);