summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/ehca/ehca_tools.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2006-10-25 09:28:08 +0400
committerRoland Dreier <rolandd@cisco.com>2006-10-31 07:52:51 +0300
commit04d03bc576f244bfa9692452aab83fa357ac0d57 (patch)
treea8f272c35f90d68509a6497341b64204ad7d1571 /drivers/infiniband/hw/ehca/ehca_tools.h
parent255d0c14b3757e8bd85add874e4dca4c3621b39e (diff)
downloadlinux-04d03bc576f244bfa9692452aab83fa357ac0d57.tar.xz
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/hw/ehca/ehca_tools.h')
-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;