linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] infiniband/ehca: spin_lock_irqsave takes an unsigned long
@ 2008-12-31  3:12 Stephen Rothwell
  2008-12-31  4:20 ` Roland Dreier
  2009-01-07 19:24 ` Roland Dreier
  0 siblings, 2 replies; 4+ messages in thread
From: Stephen Rothwell @ 2008-12-31  3:12 UTC (permalink / raw)
  To: Hoang-Nam Nguyen, Christoph Raisch
  Cc: ppc-dev, Heiko J Schick, Joachim Fenkes, general

This will also help prevent some warnings when we change u64 to unsigned
long long.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/infiniband/hw/ehca/ehca_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/hw/ehca/ehca_main.c b/drivers/infiniband/hw/ehca/ehca_main.c
index 3b77b67..c7b8a50 100644
--- a/drivers/infiniband/hw/ehca/ehca_main.c
+++ b/drivers/infiniband/hw/ehca/ehca_main.c
@@ -955,7 +955,7 @@ void ehca_poll_eqs(unsigned long data)
 			struct ehca_eq *eq = &shca->eq;
 			int max = 3;
 			volatile u64 q_ofs, q_ofs2;
-			u64 flags;
+			unsigned long flags;
 			spin_lock_irqsave(&eq->spinlock, flags);
 			q_ofs = eq->ipz_queue.current_q_offset;
 			spin_unlock_irqrestore(&eq->spinlock, flags);
-- 
1.6.0.5

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

end of thread, other threads:[~2009-01-07 19:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-31  3:12 [PATCH] infiniband/ehca: spin_lock_irqsave takes an unsigned long Stephen Rothwell
2008-12-31  4:20 ` Roland Dreier
2008-12-31  4:44   ` Stephen Rothwell
2009-01-07 19:24 ` 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).