summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-10-25 15:28:08 +1000
committerRoland Dreier <rolandd@cisco.com>2006-10-30 20:52:51 -0800
commit04d03bc576f244bfa9692452aab83fa357ac0d57 (patch)
treea8f272c35f90d68509a6497341b64204ad7d1571 /drivers/infiniband
parent255d0c14b3757e8bd85add874e4dca4c3621b39e (diff)
downloadblackbird-op-linux-04d03bc576f244bfa9692452aab83fa357ac0d57.tar.gz
blackbird-op-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>
Diffstat (limited to 'drivers/infiniband')
-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;
OpenPOWER on IntegriCloud