[PATCH] Fix eHCA driver compilation for uniprocessor
Hoang-Nam Nguyen
HNGUYEN at de.ibm.com
Thu Oct 26 05:52:48 EST 2006
Hello Paul!
Thanks for this patch!
Roland, not sure if you still need me to make a patch against your git?
Let me know in case of need.
Thanks!
Nam
> 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 at samba.org>
> ---
> 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/abs_addr.h>
> #include <asm/ibmebus.h>
> #include <asm/io.h>
> #include <asm/pgtable.h>
> +#include <asm/hvcall.h>
>
> extern int ehca_debug_level;
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
More information about the Linuxppc-dev
mailing list