diff options
author | Paul Mackerras <paulus@samba.org> | 2006-10-25 15:28:08 +1000 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-10-30 20:52:51 -0800 |
commit | 04d03bc576f244bfa9692452aab83fa357ac0d57 (patch) | |
tree | a8f272c35f90d68509a6497341b64204ad7d1571 /drivers/infiniband/hw/ehca | |
parent | 255d0c14b3757e8bd85add874e4dca4c3621b39e (diff) | |
download | op-kernel-dev-04d03bc576f244bfa9692452aab83fa357ac0d57.zip op-kernel-dev-04d03bc576f244bfa9692452aab83fa357ac0d57.tar.gz |
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')
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_tools.h | 1 |
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 809da3e..973c4b5 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; |