[PATCH] infiniband/ehca: spin_lock_irqsave takes an unsigned long

Subsystems: infiniband subsystem, the rest

STALE6415d

4 messages, 2 authors, 2009-01-07 · open the first message on its own page

[PATCH] infiniband/ehca: spin_lock_irqsave takes an unsigned long

From: Stephen Rothwell <hidden>
Date: 2008-12-31 03:12:58

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

Signed-off-by: Stephen Rothwell <redacted>
---
 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/

Re: [PATCH] infiniband/ehca: spin_lock_irqsave takes an unsigned long

From: Roland Dreier <hidden>
Date: 2008-12-31 04:20:35

are you trying to land the 'typedef unsigned long u64' change for
2.6.28, or can these patches wait for 2.6.29?

 - R.

Re: [PATCH] infiniband/ehca: spin_lock_irqsave takes an unsigned long

From: Stephen Rothwell <hidden>
Date: 2008-12-31 04:44:29

Hi Roland,

On Tue, 30 Dec 2008 20:20:29 -0800 Roland Dreier [off-list ref] wrote:
are you trying to land the 'typedef unsigned long u64' change for
2.6.28, or can these patches wait for 2.6.29?
2.6.29 (or even 30), I would think at this point.

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

Re: [PATCH] infiniband/ehca: spin_lock_irqsave takes an unsigned long

From: Roland Dreier <hidden>
Date: 2009-01-07 19:24:56

thanks, applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help