linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fix eHCA driver compilation for uniprocessor
@ 2006-10-25  5:28 Paul Mackerras
  2006-10-25 19:52 ` Hoang-Nam Nguyen
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Mackerras @ 2006-10-25  5:28 UTC (permalink / raw)
  To: raisch, schickhj, rdreier; +Cc: linuxppc-dev

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>
---
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;
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix eHCA driver compilation for uniprocessor
  2006-10-25  5:28 [PATCH] Fix eHCA driver compilation for uniprocessor Paul Mackerras
@ 2006-10-25 19:52 ` Hoang-Nam Nguyen
  2006-10-25 21:10   ` Roland Dreier
  0 siblings, 1 reply; 3+ messages in thread
From: Hoang-Nam Nguyen @ 2006-10-25 19:52 UTC (permalink / raw)
  To: Paul Mackerras, Roland Dreier
  Cc: linuxppc-dev, Heiko J Schick, Christoph Raisch

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@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@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Fix eHCA driver compilation for uniprocessor
  2006-10-25 19:52 ` Hoang-Nam Nguyen
@ 2006-10-25 21:10   ` Roland Dreier
  0 siblings, 0 replies; 3+ messages in thread
From: Roland Dreier @ 2006-10-25 21:10 UTC (permalink / raw)
  To: Hoang-Nam Nguyen
  Cc: linuxppc-dev, Heiko J Schick, Christoph Raisch, Paul Mackerras

 > Roland, not sure if you still need me to make a patch against your git?

No, I will queue this for 2.6.19.  Thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-25 21:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-25  5:28 [PATCH] Fix eHCA driver compilation for uniprocessor Paul Mackerras
2006-10-25 19:52 ` Hoang-Nam Nguyen
2006-10-25 21:10   ` Roland Dreier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).