]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
IB/ehca: Fix eHCA driver compilation for uniprocessor
authorPaul Mackerras <paulus@samba.org>
Wed, 25 Oct 2006 05:28:08 +0000 (15:28 +1000)
committerRoland Dreier <rolandd@cisco.com>
Tue, 31 Oct 2006 04:52:51 +0000 (20:52 -0800)
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>
drivers/infiniband/hw/ehca/ehca_tools.h

index 809da3ef706bd72959a26bd2fed842fcbcb239f3..973c4b59154575fa9a0dad89864051183d848bc8 100644 (file)
@@ -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;