See previous email on duplicate definitions... -#define spin_lock_irq spin_lock -#define spin_unlock_irq spin_unlock +#define spin_lock_irq(_lock_) cl_spinlock_acquire((cl_spinlock_t *)(_lock_)) +#define spin_unlock_irq(_lock_) cl_spinlock_release((cl_spinlock_t *)(_lock_)) #define spin_lock_nested(a,b) spin_lock(a)
>-----Original Message----- >From: Alex Naslednikov [mailto:[email protected]] >Sent: Sunday, June 19, 2011 5:32 AM >To: Alex Naslednikov; [email protected]; Smith, Stan >Subject: RE: [ofw] [Patches 15/26][Core] Adjust code to remove Prefast errors >and warning > > >Prefast: more robust macro definitions > > > > >Alexander (XaleX) Naslednikov >SW Networking Team >Mellanox Technologies _______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
