OSDN Git Service

rhashtable: fix missing header
authorYing Xue <ying.xue@windriver.com>
Sun, 4 Jan 2015 07:25:09 +0000 (15:25 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jan 2015 04:11:43 +0000 (23:11 -0500)
Fixup below build error:

include/linux/rhashtable.h: At top level:
include/linux/rhashtable.h:118:34: error: field ‘mutex’ has incomplete type

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rhashtable.h

index de7cac7..de1459c 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <linux/list_nulls.h>
 #include <linux/workqueue.h>
+#include <linux/mutex.h>
 
 /*
  * The end of the chain is marked with a special nulls marks which has