浏览代码

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 年之前
父节点
当前提交
04d03bc576
共有 1 个文件被更改,包括 1 次插入0 次删除
  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/ibmebus.h>
 #include <asm/io.h>
 #include <asm/io.h>
 #include <asm/pgtable.h>
 #include <asm/pgtable.h>
+#include <asm/hvcall.h>
 
 
 extern int ehca_debug_level;
 extern int ehca_debug_level;