Browse Source

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>
Paul Mackerras 18 năm trước cách đây
mục cha
commit
04d03bc576
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      drivers/infiniband/hw/ehca/ehca_tools.h

+ 1 - 0
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;