[openib-general] [patch] mad.c, agent.c spinlocking on UP

Sean Hefty mshefty at ichips.intel.com
Tue Nov 16 10:41:18 PST 2004


Roland Dreier wrote:

>     Bernhard> Hi, from linux/spinlock.h: "spin_is_locked on UP always
>     Bernhard> says FALSE"
> 
> Good catch.
> 
>     Bernhard> please consider applying,
> 
> Can we try and think of a fix that doesn't involve adding #ifdefs to
> the source file?  Do we really need the BUG_ONs at all?

I'd vote to remove the BUG_ONs, versus adding #ifdef.

- Sean



More information about the general mailing list