浏览代码

rhashtable: Fix undeclared EEXIST build error on ia64

We need to include linux/errno.h in rhashtable.h since it doesn't
always get included otherwise.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Herbert Xu 10 年之前
父节点
当前提交
6626af6926
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      include/linux/rhashtable.h

+ 1 - 0
include/linux/rhashtable.h

@@ -18,6 +18,7 @@
 #define _LINUX_RHASHTABLE_H
 #define _LINUX_RHASHTABLE_H
 
 
 #include <linux/compiler.h>
 #include <linux/compiler.h>
+#include <linux/errno.h>
 #include <linux/list_nulls.h>
 #include <linux/list_nulls.h>
 #include <linux/workqueue.h>
 #include <linux/workqueue.h>
 #include <linux/mutex.h>
 #include <linux/mutex.h>