summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-10-25 07:28:08 +0200
committerRoland Dreier <rolandd@cisco.com>2006-10-31 05:52:51 +0100
commit04d03bc576f244bfa9692452aab83fa357ac0d57 (patch)
treea8f272c35f90d68509a6497341b64204ad7d1571
parentRDMA/cma: rdma_bind_addr() leaks a cma_dev reference count (diff)
downloadlinux-04d03bc576f244bfa9692452aab83fa357ac0d57.tar.xz
linux-04d03bc576f244bfa9692452aab83fa357ac0d57.zip
IB/ehca: Fix eHCA driver compilation for uniprocessor
The eHCA driver does not compile for a uniprocessor configuration (CONFIG_SMP=n), due to H_SUCCESS and other symbols being undefined. This fixes it. Signed-off-by: Paul Mackerras <paulus@samba.org> Acked-by: Hoang-Nam Nguyen <HNGUYEN@de.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r--drivers/infiniband/hw/ehca/ehca_tools.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_tools.h b/drivers/infiniband/hw/ehca/ehca_tools.h
index 809da3ef706b..973c4b591545 100644
--- a/drivers/infiniband/hw/ehca/ehca_tools.h
+++ b/drivers/infiniband/hw/ehca/ehca_tools.h
@@ -63,6 +63,7 @@
#include <asm/ibmebus.h>
#include <asm/io.h>
#include <asm/pgtable.h>
+#include <asm/hvcall.h>
extern int ehca_debug_level;