1
0
Fork 0

IB/ehca: spin_lock_irqsave() takes an unsigned long

The flags argument to spin_lock_irqsave() should really be unsigned
long.  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>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
hifive-unleashed-5.1
Stephen Rothwell 2009-01-07 11:24:36 -08:00 committed by Roland Dreier
parent 6a94cb7306
commit 7ddccb234c
1 changed files with 1 additions and 1 deletions

View File

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