summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-03-20 23:18:45 +0100
committerDavid S. Miller <davem@davemloft.net>2015-03-20 23:18:45 +0100
commit6626af692692b52c8f9e20ad8201a3255e5ab25b (patch)
tree48d5a2930a78a65b1868975dd7304ddf3e46ce3f
parentMerge branch 'amd-xgbe-next' (diff)
downloadlinux-6626af692692b52c8f9e20ad8201a3255e5ab25b.tar.xz
linux-6626af692692b52c8f9e20ad8201a3255e5ab25b.zip
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>
-rw-r--r--include/linux/rhashtable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/rhashtable.h b/include/linux/rhashtable.h
index c3034de2c235..89d102270570 100644
--- a/include/linux/rhashtable.h
+++ b/include/linux/rhashtable.h
@@ -18,6 +18,7 @@
#define _LINUX_RHASHTABLE_H
#include <linux/compiler.h>
+#include <linux/errno.h>
#include <linux/list_nulls.h>
#include <linux/workqueue.h>
#include <linux/mutex.h>