diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c
index aecddb9bb80a3f951d830d4a4fa1c64831f6c3e2..f18302f3204900d5f3ba20f2ff99423682c324d8 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 *);